For me in particular, if I were fired a year into every job and had to be unemployed for ten, counting all the health insurance bullshit and whatnot you have in this country when you're unemployed, I'd still be better off financially than in any EU tech job I've found. HN isn't exactly a representative sample of the sort of people who benefit from EU labour protections.
When you leave a company you need to give one month notice (so you can't just get up and leave). I never seen a "layoff" (you get notice that you are leaving, but still have your job for a few months and usually no severance) like they do in the EU. When you are fired, you are out of there the same day with your severance and unemployment benefits.
This specific practice does have a few problems:
1) companies not firing about-to-retire employees who have been at the company for 10+ years because of the huge severance required. Instead they just wait for them to retire. However employees also really don't want to get fired in their last few years either before retirement because of how the pension system works, so it balances-out. 60+ year old people usually take it easy, but they are usually not just showing up for a paycheck.
2) Younger employees trying to get fired instead of quitting. If you been at a company for 3-4 years and you want to leave it is really a lot more beneficial to get fired instead. I have seen this happen, but not nearly as much as you would think (at least in IT).
Although you would think companies would want to "recycle" employees by firing them every year to prevent the severance from piling up. The math doesn't really work out like that on top of all possible disruptions of such high attrition rate.
EU is certainly not a single country and states have sometimes wildly different rules and labor laws. That specific situation is impossible at least in some countries.
Since this is mediated by an union it only happens if there is a good reason (usually financial problems). I never seen it on an individual case basis it is always multiple people at the same time.
Also on HN:
"Looking for a Job Is Tough" https://news.ycombinator.com/item?id=42132125
It appears the facts don't fit you opinion.