He would get back the joy of coding and still be a programmer, without having to deal with any of the corporate system.
I can fully understand where he is coming from, it's not the job itself, it's the whole system that makes it unbearable after a while.
This is the reason also why there aren't many people over 40 in tech. They have usually by then accumulated enough money and found an exit strategy.