If you're young, be sure to read the responses here very carefully. There are lots of people like me who love what they do at fifty or beyond. Yay!
But of course, this sample has survivor bias. How many people who left the profession in their forties are going to post on HN? How many people who are fifty and hate their jobs are going to post on HN?
I love what I do and try to share that love. But my advice to you is this: Don't pay attention to how much we love our jobs at fifty, pay attention to how we got to be fifty without burning out.
So how did you get to fifty without burning out? The advice I've always seen is a mix of: have a healthy work/life balance, exercise, find satisfaction outside of work, enjoy people more than products, and make sure you actually like what you do and where you do it. Anything else?
In my personal experience, resisting the urge/pressure to get into management (vs. staying in engineering). Management in a larger setup invariably involves having political skills of some sort.
But of course, this sample has survivor bias. How many people who left the profession in their forties are going to post on HN? How many people who are fifty and hate their jobs are going to post on HN?
I love what I do and try to share that love. But my advice to you is this: Don't pay attention to how much we love our jobs at fifty, pay attention to how we got to be fifty without burning out.