I know of these cases in the US, but that wouldn't fly in a German union. They only stand up for you when the employer acts out of reason, but not if you're fired with a valid reason (e.g. sexual misconduct). Maybe a look at the German system could be of help here, though I sympathize more with the French model as their unions sometimes go the extra way for the employees.
I suspect that Mr Danmore (x googler) did not get fired fairly as google did not I suspect follow its internal procedures to the letter.
The fact is that engineers create an increasing amount of value, and their compensation hasn't increased sufficiently to reflect that.
In fact, Adobe, Apple, Google, Intel, Intuit, Pixar and eBay were found guilty of colluding to keep engineer pay artificially low through anti-poaching agreements[1].
[1] Apple, Google, Intel, Adobe will pay $415 million in anti-poach deal - http://fortune.com/2015/09/03/koh-anti-poach-order/
Most software developers are not on HN, or making anywhere near Valley salaries.