Probably says more about you than it does the people you're talking about.
Have a friend who went to school for business. Realized once he started working in business he absolutely hated it. Took a huge pay cut to work for a non profit. Much happier.
Another person I know spent many years trying several different careers. Got a bachelor's degree, did work studies, job shadowed, got licences. Didn't like any of them. She is happy in food service where she works now.
If you're a 45 year old programmer and feel like you're nearing the end of your valuable career, it might make sense to take the pay cut and make the transition. The pension alone is the equivalent of adding another $1MM to your retirement portfolio (assuming 4% safe withdraw rate).
As a person who is scared by the prospect of programming into my 50s, I could see making this move. A 50% reduction in pay until retirement sounds more appealing to me than a sudden 100% reduction in pay at some indeterminate point in the future.