Personally I think that this entire sector is due for a reduction. Companies like Facebook or Amazon or Google or just soaking up employees to work on things that don’t really matter. Once they figure that out and manage more efficiently, there will be layoffs followed by the inevitable commodification of CS talent. This field isn’t special, it’s like any other field that went through a boom phase and a later regression to an equilibrium point.
Soon everyone in every role/industry will have rudimentary programming skills and use them on top of safe platforms that don’t needtremendous specialization. It’ll stop being a differentiator and it’ll be more like a basic qualification.