Setting up a development environment is an absolute pain in the ass, for a professional developer. But when I was in middle school on my pops pre G3 apple computer (or maybe it was the G3 at that point I'm not sure) I pretty easily figured out how to use a text editor and a preinstalled language to solve project euler problems. Boy those were fun.
I'd imagine access to the computer is a big issue, and only god knows where I found projecteuler for the first time but those sparks are really whats needed. If it ends up getting taught in some stale way as proofs in highschool were taught with lots of rote memorization and none of the art it'll probably end up producing a similar amount of interest.
Also, I presume, as people get older they're less likely in many cases to spend the time to learn a skill which doesn't offer anywhere near the tangible benefit of speaking and writing. Speaking and writing are practiced near constantly just because they're generally the best tools (along with drawing, gesturing, touch) for a job (communication) which must be performed everyday. I can't imagine the future where programming ever hits that level and see it more like the internals of a car with its standard bellcurve distribution of understanding across society.
In fact, I'd say that it's more accessible because it's on a locked down, easy to use device.
...although perhaps it would be a great time to talk about how things used to be different, when such questions come up.
But now you are moving the goalposts.
It is irrelevant whether programs are "first-class citizens." It doesn't stop one from enjoying and experiencing programming, and it certainly doesn't prevent someone from making just as complex and interesting programs regardless of the environment in which they are executed.
The point I am arguing from your original post is the following:
> Unfortunately I don't know if it ever will reach the same level of importance as literacy, because the industry seems to be trying very hard to discourage regular users from ever becoming programmers or even "advanced users"; see the War on General Purpose Computing:
I very much disagree that anyone is trying to discourage regular users from becoming programmers. Whether you are in a sandboxed or locked down environment is an irrelevant implementation detail. Virtual machines can be explored on such systems, even if the real ones can't.
(And, as an aside, Codea for iPad can export a user's project into a native app that can be developed further or uploaded to the App Store. So even environments like the iPad can, and have, produced "first-class citizen" applications. In fact, we published the first game coded entirely on iPad in 2010. It has had millions of downloads.)
This is entirely because of malicious people ruining it for everyone though, not necessarily that the app stores just have the monopoly
http://boingboing.net/2012/08/23/civilwar.html
http://boingboing.net/2012/01/10/lockdown.html
I mean, how do you even convince someone that learning to program is a good idea if it takes jumping through many serious hoops just to set up? The majority of interaction with computers is with locked-down mobile devices. Contrast this with home computers in the 80s that were practically begging to be programmed as they came with little other than a built-in interpreter, or the early days of the PC where user magazines had source code - in assembly language - that people could enter in DEBUG and create small but useful programs.
The walled gardens of app stores have also grown to the point where simply sharing an executable with someone has become an almost taboo act, with some central authority telling the users who to trust.
It's in the interests of the software industry to keep the majority of users computer-illiterate, so they can be profited from. On the other hand, basic literacy is valued by the industry, because it makes it easier to persuade users who know how to read and write (adverts wouldn't work if people couldn't read them...)