I agree with you despite the level of skill its still requires alot of continual learning and mobility. However, it takes alot longer to become a doctor than a software dev, as in more required schooling.

Here are a few other things to consider about comparing software to doctor/medicine industry

1. The rate of change of which human biology changes is alot smaller than the rate of which technology changes, and this is a pretty obvious thing to know going in to either of these industries, so complaining about the continual learning curve I don't have much sympathy for here.

2. Doctors experience their fair share of misery as well

a. Doctors are one of the professions most in shortage in the U.S. as well as almost every other country, despite this acceptance rates into med school is insanely competetive, way moreso than a large tech company, and worse, to even apply to med school requires schooling from an official college, in an environment where college tuition has increased 500% relative to inflation in the past decade.

That means the majority of people paying 500% more to get enough school to apply to med school don't even have the opportunity to pursue their profession of choice, and experience competitiveness at an entirely different level, and are left with lots of college debt and forced to find an alternate profession.

For those who do make it, its another 10 years of school, and often not even the option to choose which genre of medicine you can go into.

99% of Doctors are happy to finally be a doctor and work anywhere, and most people who wanted to be doctors never got accepted into med school.

With software engineering, while alot of devs went to college, its not required by any means, and you can realistically learn for free never go to college and be a software dev.

Additionally, if you dont get into the top whatever elite tech firms and have bragworthy employment, you can get a job as a software engiener making a min $60k at literally almost any city in the United States, and most industrialized places in the world, it just may not be the job you want, but usually there is a large healthy range of software employment between working a low end sys admin job at a healthcare firm for $90k without having to ever increase learning skills, or working for the top 5 tech firms.

Maybe a more accurate comparison is Doctors who went to ivy leagues and have paid off their debt, and their quality of life compared to the amount of work a software engineer at amazon has to do to coninually stay at cutting edge, but your kind of mildly glazing over the 15+ years of academia and hundreds of thousands of dollarsd of tuition doctors invested before they had stable lives, after inching into the acceptance of a med school where the acceptance rate is multiple times lower than those who actually interview and get turned away from top 5 tech firms.

Youre also glazing over the level of responsibility, in 99% of cases, when a software engineer makes a mistake, someones life may not be a stake. The ability for a software dev to have impact and have their work be exposed and touch and improve is higher than a doctor, but the consequences of a doctor making one mistake is almost infinitely higher than a software engineer.

In addition, you practice under a liscense, and can be sued for malpractice. If you make a mistake as a software engineer, you may get fired, but not always and will be employable elsewhere.

You cannot rebase a github push origin master a heart transplant, or a shot, or helping giving birth to new life. If you mess up, you can't ever practice medicine again.

In addition, doctors usually have to start their own practices, so they have to be their own entrepreneurs very often much like lawyers. While software engineers can do this for free with no school or liscensing and no risk of malpractice if its in the hot field of social apps for example, you can easily work for other companies your whole life.

I just don't see the comparison between the two, or the sense of entitlement you have that being an employee at Amazon offers the stable benefits a doctor has after 20 years of schooling and paying off loans and establishing an independently run office.