Because unlike almost all other classes, that one would be immediately beneficial in daily life, in a direct and apparent way.
Even worse, given modern security standards, I wouldn't be surprised if programming and scripting were to be prohibited in the next ten years or so.
I would agree with your assessment about 'immediately beneficial in daily life', if you were talking about a course offered to adults who are already working a white collar job.
And most people can do basic arithmetic, right?
The goal, I think, to start should be to get to the point where an office of 10 or so people has at least one or two who can string together basic scripts.
'Post hoc ergo propter hoc.' https://en.wikipedia.org/wiki/Post_hoc_ergo_propter_hoc
By and large, kids from well-off parents were always more literate, and they still are. And the US is a lot richer now than it used to be.
I mean, if you want to totally revamp the education system, I’m here for it, but I guess that seems like a bigger project to me.
And yes, baby sitting is a big part of the package that schools do provide in practice.
> In that case, might as well also do some programming classes, right?
I don't think programming classes would do any more damage than the current curriculum.
> If the other option is learning nothing.
Well, giving the kids free time or more physical activity might also be useful?
Already around the world high schools all have something highfalutin like 'teaching critical thinking' in their curriculum.