Another contributing factor in my opinion is that companies would rather outsource entry level dev work to foreign countries with cheaper labor. I have a feeling this will backfire in the coming years as companies struggle to find sufficiently experienced senior devs.