Oh, I was still doing software engineering up through age 43, when I switched to project consulting & rescue. 

That said, most companies avoid hiring older software engineers for a few key reasons:
- they’re too expensive 
- they’re intolerant of management BS
- they know all the signs of project failure and will gladly point them out
- they often know more than those trying to manage them 
- they’ve moved into consulting/contract roles that pay better and have less BS, and are also easier to walk away from

Some do stick around, embedded into legacy maintenance positions. 🤣👍