Get into a big and mature company (think: 10k+ employees) instead of a startup or an smb. When I visit my friend at his company's San Francisco r&d building I see just as many old people as young or middle aged. Many of the older folks are very well respected due to their experience. Downside is that you'll probably be using some OOP language to make incremental changes to some ancient api call.