I know multiple photographers whose passion is landscapes/nature and only grudgingly supplement that income with weddings/portraits.
I know multiple photographers whose passion is landscapes/nature and only grudgingly supplement that income with weddings/portraits.
In other words, teachers are not willingly giving up a portion of the compensation that they could otherwise be making doing the same job somewhere else. In software instead, that happens ("Oh, you work on FOO v2.0, I'll happily take 40% less than what I could otherwise be making doing this job in another company").
I don't know about public defenders, you might have a point there.
It's like how artists/writers/game developers/etc. decide to go into their field even though they know that they could be making much more money in any other field.
Most people eventually have to decide whether they want to make 150k writing CRUD apps or 90k writing algorithms.