That's the problem in Japan. It's a delayed meritocracy. You collect on your performance from 10 years ago thanks to rigid seniority. So, these ageist stereotypes actually hold true sad as it may seem. The software industry in Japan is more like a medieval European guild than what you imagine.