Ageism's a thing. IBM got caught recently trying to specifically push out older employees to make room for younger replacements, for one, and having a harder time landing an individual contributor role seems to be a common experience among older workers looking for jobs although I don't know of any hard figures on the subject offhand.
The idea that younger people learn faster is an excuse; there's a reason experience commands higher salaries, after all. Companies like younger employees because they're cheaper, more tractable, and tend to have fewer external commitments such as relationships or children.
Good points, I didn't think of the salary and commitment.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.