Old Geek
As an over 50 developer, I find for me personally its better to start up a company, or join a small company as CTO. That way your useful experience is maximized from both a leadership and technical perspective.