Earlier quoted context omitted.
Theoretically if the podunk town is willing to pay 5x, 10x, 100x, etc. A doctor would definitely take up that. Hell, I would do software development in a podunk town for a million dollar salary. Maybe even a 750k salary.
Yeah that's a dynamic I can't understand. Most software professionals talk about relocating away from the cities the first chance they get, but everybody else is rushing to the same cities that only software developers seem to be able to afford. This dynamic extends beyond usa. Even in India, doctors command high salaries in rural areas, often 2-3x what they can in metropolitan cities.
A developer is even more relocatable than the doctor. You can still work for a major company and you still have the big city market open to you, even if you live in a small town. Whereas for a doctor it's a major career change.