The problem with comparing doctors to techs, is that while a senior software developer may make as much as a doctor’s salary (from 10 years ago), instead, the doctor’s salary (of today) has easily kept up with inflation.
An Anesthesiologist makes over $250,000 annually. Try making that as a senior tech.
A Physician’s Assistant makes over $170,000 annually. Easily beating an average senior software engineer. And they’re not even medical doctors.
Nurses make over $125,000 easily, especially with their mandatory overtime schedules baked into their union agreement.
And here’s the kicker: because women make up a larger share of medical professionals, then you have a situation where doctors end up marrying other doctors or nurses. Which is good for them, but guess what they do? They buy up the expensive houses. And then they buy their second or third houses, thus pricing normal people out of that also.