Old people don't get useless, they have much needed experience that have to be harvested. Just because you use the latest fad does not mean you don't dig the same pit or just a slightly different pit. The young that realise this will stay ahead.
For sure, but in this case I apply the investing's theory "the market can stay irrational longer than you can stay solvent", to something like:
"the software engineering labor market can stay irrational towards older people longer than the 2 decades past 40 where I could stay effectively employable".