And it's okay if that starts by finding out that developers have a ~80% burnout rate. To be fair, you are at least correct that we should run the same study against teachers. (And really as many other people as we can find the time/money for.)
https://www.nbcnews.com/news/us-news/california-school-board...
https://meaww.com/alissa-piro-california-teacher-zoom-rant-h...
They are not nearly as effective or as important as people make them out to be.
The value that school provides kids, parents, and the community is multifaceted.
If anything, primary educations are very important, but not because kids learn basic arithmetic, but because they learn the foundational social concepts that will permanently shape their ideas about justice, respect, cooperation, etc.
The "foundational social concepts" children learn in school are taught to them by full-time teachers, who are only capable of repeating various myths about society that they themselves believe. The effective method to learn foundational social concepts is to live in and contribute to society, not to sit in a sterile, age-segregated social environment and listen to quarter-truths spoken by apathetic non-experts, and then be tested on arbitrary collections of unrelated fact.
I am not arguing against the concept of education in general, but the notion that it can be taught in school is, I think, one of the most damaging problems in society. You simply cannot learn quickly and efficiently as a numbered head in a sea of competitors; good, proper learning takes time, personal attention, discipline, and does not pace itself to a standardized schedule. I offer this essay, not as the foundation of my anti-school beliefs (which are supported by dozens of studies, hundreds of essays, and thousands of personal experiences), but as the same literary aperitif that allowed me to ask myself "what if school isn't good for society?"
I disagree. Many (most) of the social concepts that children learn in school are not taught by teachers, they're taught through interactions with other students, with the teachers providing guard rails. They're completely orthogonal to the curriculum.
There are certainly plenty of myths repeated in classrooms by teachers, but I don't think the ratio is worse than the number of myths you hear in any other place. In fact, I would bet professional educators probably do a better job of not repeating myths than the general population, since they study formal pedagogical methods. Go read a public comment section on any news story -- you'll find plenty of examples of egregious myths repeated by average "productive adults".
The public comments section on any news story is inundated with people who spent a large portion of their lives in school. When they were in school, they were taught to respect authority, keep their heads down, specialize in a certain field, and accept wage labor conditions for the rest of their lives. They were also taught that proper education starts with an authority and is handed down via lectures and tests, and other kinds of knowledge are not valuable unless certified by another authority endorsed by the school system. This is true whether they went to a public school or to a private religious one- the "authority" the children are supposed to listen to just changes. Kids don't teach each other these lessons, the school system does.
Software developers at many, many companies are absolutely spoiled. I know there have to be negative stories, but on the whole, pay, benefits, perks, and even hours are better than a great many industries. Even game shop crunch hours seem about on par for doctors in residency, some (most?) finance shops, and I'm sure other less notable roles like my friend who works in water distribution who puts in 90 hour weeks regularly and just got off a 39 hour shift.
Software engineers are classified by the CDC wrt to suicide incidence higher than a lot of the jobs you're mentioning there (8th place out of 22). I guess being spoiled comes with the price of offing yourself more often than doctors, lawyers or teachers.
For example: Work hard, have a bad relationship at home or at work can easily lead to burn-out.
Furthermore, software engineering seem to have some unique combined traits which sets it apart: 1. Creative proces which is hard to manage and easily leads to misunderstandings and conflict with customer or employer. 2. Screen-working enables stretching concentration well beyond human limits. 3. Modern western society tends to personally identify oneself with work too much (which is an easy trigger for emotional disturbance) 4. Programming is fun! Devs are being treated so well! So why not endure those problems a bit longer ...
In fact, being spoiled can lead to dissatisfaction. It's part of the problem I imagine.
Somebody doing something really hard for a tangible benefit to people they know, have really healthy life satisfaction. Like the plow truck driver in winter, folks like that. For the obvious reasons.
We're all social animals. Suicide has to do with that. Not how easy your job is!
Only in one country.
And comparing software development only with stressful jobs.
And if you still think that burnout is not a bigger issue in the software world, go around and look at how many 40+ or 50+ years old work in software.