Someone who's 42 needs to be a "TL" (tech lead?). Not everyone can be a leader (like you say, not that many openings available) -- and leading is often a totally different job and skill set from developing software. So what do you call it when everyone above a certain age is automatically shunted into a smaller pool of openings for a different role? I would call that ageism.