> I assume before ai they where not allowing the kids to fry their brains doom scrolling but would allow programming

Young kids don’t need to learn programming. They need to learn math, reading, spatial reasoning and social skills. (Among other things.)

The kids who were being taught Java in elementary school ten years ago aren’t particularly better off for it.