A few years ago I worked at a ~50 person startup, where an informal poll revealed everyone on the engineering team to be in an age range of ~24-30. One day we interviewed an insanely qualified dude in his mid-50s. He’d worked with technologicies up and down our stack, their competitors, and their predecessors, and could speak at length to their relative strengths and weaknesses. Tons of open source contributions, mentorship experience galore, super nice - super nice, but also clearly nervous during a few rounds.
At the team standup afterward, pretty much everyone was an unreserved yes except the engineering manager who directly said he was concerned about the candidate’s age, and whether he would “fit in.” He wondered out loud whether we could reject the candidate on this basis. The CTO was at the meeting and immediately shut that line of questioning down, although none of us ever heard from that candidate again. Something I’ll never forget as I get older in this field.