> That said, I'd argue that chefs, plumbers and doctors do benefit from the ability to solve their own problems with whatever tools available to them, and I'd still include the basics of programming in that list.
Oh, absolutely. And I'd love to learn anatomy and basic medical diagnosis in order to evaluate my posture, bloodwork and vitals every quarter, but you won't find many doctors willing to participate in movements that are going to teach me that. My point is that we should be more like them if we want to obtain ideal compensation and respect from society.
> Do you need to know calculus in order to be a chef? Probably not. Does that mean we should stop teaching calculus in schools?
Not at all. And I'd even encourage the teaching of code in schools, if qualified teachers willing to teach code at the salaries commonly offered in schools can be found. My opposition is to volunteer-based "Teach Everyone to Code" movements that often expect programmers to shoulder the vast amount of unpaid labor that goes into these events in order to pass on their in-demand skillset. In my opinion, the more we participate in these events, the more normalized that participation will become, until programmers are ultimately being paid the same as teachers are today (which is not very much, in the US anyway).