Because I can also tell you another anecdotal example of some developers who each had 20+ years experience each and we're quite high ranking they company they worked at:
- They would re-invent the wheel constantly: the framework provided lots of functionality which had been developed and battle tested by thousands of other developers but they couldn't be bothered to learn what was available to them so wrote a lot of functionality from scratch which was usually far more buggy than the open source code available.
- classes which had literally 10,000+ lines of code in them.
- of course the idea of following SOLID principles was never ever going to happen
- a general view that they were the experienced ones who "just made it work and got on with the job" while the younger programmers or those who followed more modern practices were seen by them as being "airy-fairy" and worried about things that didn't matter. that argument might have held weight if the application they built wasn't so awfully riddled with bugs and so poorly architected that mainting it and building new features took ages.
- They had all been working at the same company for at least 15 years, so they were able to ignore the advances made in software development in that time and carry on with their old ways. Of course they could still code new features and fix bugs but they didn't realise that what they were doing could be done in a much much better way.
I'm not saying all old developers are like this. But if somebody is able to tell me that older developers are better because X, then they should be able to accept somebody else disagreeing and saying that older developers are worse because Y. You can't have it both ways.
Exactly, which is often reflected in job specs. You rarely see a requirement to have 10, let alone 15 or 20 years of experience as a requirement. When the application is automated you can get a drop down menu that stops at 5+, for example. I once complained about this to Hired.com; they didn't react at the time but years later they added more options up to 15+.
This is a Dunning-Kruger effect of sorts. When those hiring have no more than 5 years of experience, they have no idea that the difference between 10 and 5 is as big as between 0 and 5, and so on. Unfortunately you have little chance of seeing the value of experience if you lack it yourself.