> If I get fired the government pays me my salary for a year while I'm looking for another job.
Theoretically. My experience was that getting unemployment benefits as a skilled worker is practically impossible. You have to interview constantly, and there are lots of companies interviewing recently laid off tech workers, and they offer crap salaries knowing that only so many offers can be turned down before your claims are rejected.
I don't really blame corporations, the moment that they admit weakness is when the hyenas show up.