How is that different from any other job? Listen even to people in traditionally creative/uplifting jobs...including artists and teachers. It's depressing to hear how much of their time is struggling with data entry/Excel/why-wont-the-font-stay-the-same-size issues...time (and energy and angst) that is probably substantial over their career
I remember an industry teacher once saying to me that "You'll probably never put '10 years experience in Technology X' on a CV." because by the time it's been around for that long it will be pretty much obsolete. The fundamentals of computer science won't change (big-O, synchronised distributed systems, logic etc.) so I suppose it will just come down to re-learning the modern day tech.
But that's the same for lawyers (fundamental laws / processes unchanged, need to be up-to-date on modern rulings and changes), doctors (fundamental human physiology unchanged, need to be up-to-date on modern techniques and drugs) sales assistants (knowing how to greet and assist a member of the public never changes, need to know how to use the latest cash register / Square-up card reader terminal).
I suppose you can't escape it in another industry. I still stand by my point that your skillset as you get older will make you more appropriate for other duties.
I think the skillset as we get older is knowing when to duck.
It might be called wisdom, mentoring, what have you but basically, having been in situation X before, you can give sensible advice to someone just entering situation X.
Reading through all the comments has reinforced my original comment that this kind of "bring it on" passion is heavily correlated to geo-location, culture, industry and day-to-day grind that one is put through.
>> Monetising that is generally harder
Tell me all about it! So, I've heard of elephant graveyards and jet graveyards... Now, where do all those grizzled, veteran (old) programmers go away (other than into management)?