Hello HN,
I'm 28 and been doing programming ever since I was a kid, built a pretty successful carrier out of it, tried to launch startups, worked for big corporations and small startups, contributed to open-source, became an expert in a niche domain, and ended up doing consulting working remotely for the last couple years.
The problem is, I don't enjoy it anymore. More importantly, I don't enjoy the process which doesn't involve much creativity. Especially with building software, there are always optimal engineering practices, but even with paths less travelled like reverse-engineering, there is limited room for creativity as well. In the end it's all about solving a problem, and after a while solving really hard problems which you don't care about burns you out.
Anyone else experienced something similar? What drives you to keep at programming?
So use programming as means to something you really want. Maybe the breadwinner to the family you love or focus on jobs that you find fill your need to make a difference. Jobs where you can say without me that would never have happened. Chances are they won't pay as well but you'll feel better about what you are doing. Programming because it pays well does nothing for you in terms of fulfillment. Also, there's the life/work balance. Working continuously without a goal becomes a miserable situation. Understand that and you'll be a more content person.