I really find the hatred of layoffs some of the most nonsensical criticism of capitalism.
If you are going to pay people for doing nothing useful, because your company no longer needs their work, why make them go to work? You can save their time and your money (office costs, taxes, administration, etc.) if you just give them the money after you fire them.