Moreover, hiring a long-term employee today versus tomorrow might save money for a place like Google, assuming we expect competition and wages to continue to increase.
It strikes me that if Uber is laying off software engineers, their company outlook must be very, very dire. A layoff is perhaps better strategy than firing the bottom 5%, which would likely preclude the departed from re-joining at a better time. But probably the wrong message to send to a cohort like software engineers-- a layoff is a legal confirmation that the company made a big mistake.