20 year programmers fairly often get to "lead teams of programmers".
In some ways, it's staying hands-on that can be difficult. At least if you want to be recognised and valued as someone who's experienced and can take on challenging problems without a lot of support.