This agrees with everything I have seen over my career, and adds yet another powerful reason for why age discrimination exists in tech.
More experienced developers who actually have kept up with their skills are much better, but the fact is that a lot of the development work out there isn't at that level. A lot of it is just plugging and chugging Java, JavaScript, etc.
* It’s illegal and therefore people shouldn’t do it.
* It’s illegal because people shouldn’t do it.
* It’s illegal which raises the cost of doing it.
* Other?
Specifically, discriminating against someone over 40 due to age. (29 USC § 621: https://www.law.cornell.edu/uscode/text/29/621 )
In what specific way is its legality relevant? The bare observation that it’s illegal doesn’t mean anything.