I won't give too much details, but basically it was this:
Bigwig liked me. Guy directly under bigwig, was my theoretically boss. back then I didn't understood office politics, and kept communicating with bigwig directly, because project was his idea, and his coding style was similar to mine (when he used to code) so he understood what I was doing.
I made a genuine screwup due to mental illness (now treated), guy under bigwig fired me.
I complained to bigwig on the same day, he unfired me.
I still had screwed up though... so bigwig gives me some deadline to fix my stuff.
Some weeks later, about 3 days before deadline, bigwig had to take a business trip...
So guy under bigwig shows up, tell me to show him "now" the project, since I was counting on using all the days on the deadline, it wasn't ready, so he tells me I failed and I was fired.
I tried to argue, and find bigwig... but he didn't let me, instead he made me get escorted out of the building, I didn't even got to clean my desk (like 2 years later a co-worker that grabbed my stuff returned them to me when we went to the same event).
Of course I still tried to contact bigwig, but I just wanted to ask my stuff back. Found out that they deleted my e-mail, blocked my personal e-mail from their server, reception stonewalled me (kept giving me obvious excuses to not pass on my call to anyone), banned me from the building (that had other companies too but...) and so on.
And that is how I found out the hard way how office politics work...
Few minutes later we realised he had run "rm -rf" on the central source code repository.
Restored from backup in a couple of hours, but I'll never repeat that experiment.
And that's:
- in a developing country
- in a country not known for its excellent reputation regarding fraud, corruption, theft, etc.
- as an employee holding the "keys to the kingdom" (access to multiple production environments, admin level access to source control systems used by 90% of the company's products, etc., etc.)
I know that I wasn't fired, I resigned, so things are not quite the same, but people who were fired got the same treatment. Just leave the company stuff behind, pack your personal stuff and leave at date X.
Firings usually shortcut the twaddle and bunkum associated with that particular bureaucratic form.
I saw that in Moscow in 2008 (one big investment bank fired several guys from our team in 20-30 minutes in front of my eyes). It was very unusual. They did now allow a fired person to touch his computer after firing him.
He was the only one who didn't get called... Neither of us could stop laughing...
It's possible to do layoffs in a completely different way, but it takes time and management patience. When Nokia fired thousands of employees back in 2011-13, they created a program called Bridge that offered former employees seed money to create startups, and even the possibility to negotiate for a spin-off license of IP assets created at Nokia:
https://www.google.fi/amp/www.zdnet.com/google-amp/article/i...
It seems that the program was a success by any measure. Nokia is still around and doing better than in a long time, after shedding the mobile phone albatross to Steve Ballmer for an inflated price.