The various systems, incentives, lies - ALL, arise from the growth paradigm.
That paradigm depends on more cheap, energetic fresh meat arriving out of college/recruiters every year.
Fresh grads cost less, have relatively more energy, fewer ties, and probably better cognition responses.
They lack experience, but that's a solvable problem.
The question to ask is this: Why WONT there be work place discrimination, when younger, cheaper candidates show up every day?
System incentives are not in favor of growing old in tech.
And whats laughably worse about this is that humans are TERRIBLE at making out correlation from causation:
people will eventually associate youth with tech work, so an OLD person doing tech - will be tagged as an outlier and assessed on that.
(And Firms would NEVER admit that its just easier for them to ignore work place equality issues in favor of "fit" and "cultural match")