The trees: fire anyone above 30.
The forest: Many development processes that required experience are being outsourced to companies like Amazon, Google, via their cloud computing platforms.
It is now possible to read some docs, follow some tuts and have a service that scales. If the inside is ugly, no one cares. That's the forest.
The problem is that this is how management thinks all over the world because it is short-term profitable.
Find another industry, seriously.
Yeah, so now your inexperienced developer just deployed something that takes 10 or 100x more resources than it should, and now you have a massive AWS or GCP bill to pay.
(Which brings up an interesting question, at what point does your cloud computing bill reach a point where it's worth it to pay the slight premium for a more senior engineer to come in and clean up the obvious inefficiencies?)
"The problem is that this is how management thinks all over the world because it is short-term profitable."
Not really, as so many early stage software companies are not interested in being profitable, short-term or otherwise. So cost management and profits are irrelevant, just resume padding for the next opportunity.
The company was making hand over fist. They didn't care about the quality so long as the payments were made and they weren't losing customers to competition due to tech choices.
But no, instead you set the wage so that anyone with a choice leaves.
I think the main reason for these places that are mainly hiring young programmers are that they are way less expensive if you count in unpaid overtime you can force them into. Older programmers that agree to that are desperate and not sought after anyway. Young programmers need experience so that they can become older programmers and agree to it.
Nah, roll in, make some money, fuck off in two-three hours.
Where they don't work is long term, when investors (or acquisitors) realize that they've been taken hook, line, and sinker. And really, it doesn't even work if anyone did due diligence, but technical diligence is almost as difficult to do well as interviewing.
The ones in charge who are older have what I call a frat house mentality.