No matter how well meaning, high school barely teaches most people anything in practice.
Though, if programming were taught as a basic problem solving tool like writing and arithmetic, just stuck in the toolbox, a science class would probably benefit from having it there. For example, if it was expected that a kid could do programming as well as they can write a lab report, then it would probably be easy enough to add some sort of “call Numpy to do a linear regression” type section at the end of every lab report.
This sort of programming is an everyday force multiplier, and it ought to be taught as such.
Already around the world high schools all have something highfalutin like 'teaching critical thinking' in their curriculum.
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?
To have real transferrable programming skill - I am not talking about one that will get you a software engineering job, just basic problem solving - you need to know an awful lot about how computers work. Otherwise you'll quickly get overwhelmed by errors you can't comprehend at all stages , not being able to get data in right format, not knowing what tools are suitable for what problems etc.
I think someone on this site chimes in occasionally with a sort of “spreadsheet, but each cell runs a line of Python” type program they’ve been working on (although I can’t remember the name unfortunately). That could be a good basis…
But that doesn't mean _teaching_ people how to solve problems is any easier.
Computers are vital and unavoidable technology. Once it was arcane knowledge to read and write, to make calculations. It will be trivial in the future to know the basics of computer science and scripting.
This has nothing to do with actual robots, which can make it confusing if you come across this without having the right context. What they mean by this is they have a commercial tool that implements a very simple scripting language, often in a structured way so you can edit it without using an editor. The tool has lots of commands for automating GUI actions like "find this window by title", "click that button", "load this web page", "find text that looks like this", "loop" and so on.
The idea here is that a lot of processes involve moving data from one app or window to another in a repetitive manner, so if you have a programming language optimized for that and designed for beginners, you can automate a lot of stuff. It's not a scripting language like Python, it's totally focused on driving GUIs. And it works! Robotic automation is a huge deal in some companies.
I helped an ex-girlfriend learn this stuff at one point. She sort of bluffed her way through the interview, they were looking for people with more computing experience but she was a woman so the hiring was more or less automatic despite her knowing nothing about computers at all (woke companies ...) Despite the tool being designed for such people she still found it really really hard though! Some people just really struggle with structured thinking of any kind. Writing down instructions in a formal way was just totally alien to her. The tool tried its best to help users avoid mistakes but fundamentally you still have to be able to think in terms of loops, lists, multi-step processes and so on. I think she did eventually get there but it took a long time and she failed the internal exams the first time.