I don't know if teaching code in school really matters at all. I never took a class in programming in elementary, middle, or high school. I didn't take a class in programming until junior year of college.
I got my first job at a startup writing code when I was a freshman in college.
I was an engineering major, and I taught myself how to program in middle school, but never did I ever take a class on it.
Of all the various things I have learned, learning programming has one of the lowest barriers to entry of any. I really think it is a waste of money to focus on it in school. Most of the kids that I knew who took AP Comp Sci were ruined by it. A multiple choice test for basic programming? Yuck.
I disagree with the rest, though. I would agree if I thought the other classes were worthwhile, but about 70% of my junior high and high school was filler at best. At least if there had been programming classes I could have taken those instead of truly pointless stuff like the JV girls volleyball coach teaching "social studies" via VHS tapes.
See in my opinion, with the limited resources they have I'd rather see them fix your social studies class than add programming. There just aren't that many people that are going to be doing software development, but we probably can agree if everyone knew more about history, politics, and government this country would be better off.
I think it helps. Being introduced at least, could make a difference. For example, I was a computer kid, but I didn't really know that programming existed. Had I been introduced to it in my teens, I likely would've at least toyed around in my spare time. Alas, I learned too late, and am trying to play catch up.
I got my first job at a startup writing code when I was a freshman in college.
I was an engineering major, and I taught myself how to program in middle school, but never did I ever take a class on it.
Of all the various things I have learned, learning programming has one of the lowest barriers to entry of any. I really think it is a waste of money to focus on it in school. Most of the kids that I knew who took AP Comp Sci were ruined by it. A multiple choice test for basic programming? Yuck.