Coding IS taught is in high school, but is not mandatory. You know this of course, but it's important to note that there is no shortage of opportunities for students to take computer science courses. Some districts will even send students to a nearby school if enough students want to do it but the school doesn't offer it. High school computer science classes were useful, but still at such a slow pace for people that were interested enough to learn at all outside of class. Anybody that was obsessed with programming outside of class probably wouldn't take the class or just snooze through it.