Lol. Even among those less stupid, most didn't hire junior developers for the last three years, to hedge their bets.
Well, it's three years later, AI didn't solve shit, and we are facing an entire missing cohort of senior developers.
We've seen this before - back when web frameworks "made all of us obsolete" back in 2003.-
Here's what comes next:
Everyone who needs a senior developer gets to start bidding up the prices of the missing senior developers. Since there simply aren't enough to go around, the "find out" phase will be punctuated.
Losing bidders get to pay 4x rates for 1/3 the output from consulting companies.
Cheers!
Source: I was made obsolete by web frameworks so hard that I entered a delusion where working with web frameworks just let us produce bigger buggier websites even faster - and where the demand for web developers skyrocketed and I made some seriously respectable money while helping train up junior developers to help address the severe shortage.