When someone at a big company is conveniently let go before their green card is approved or that big bonus is paid out, it isn't a "firing," but a "layoff" as the company "right-sizes." Bad bosses abuse underlings when they think the job market lets them get away with it and will not hesitate to punish those who step out of line.
Come to think of it, I've seen everything you describe at some of the many Fortune 500 companies I've consulted at. Sadly, human nature defies corporate size, and bad behavior can even creep into very big companies.
Whether those checks function well or not, there's usually nothing you can do about an irrational or abusive CEO or VP/Eng at a startup.
That goes only for the USA. Sorry to touch that topic, but it's true.
Hmm, Oddly enough, I think that laws on sexism, racism and reasonable behavior by employers actually influences their behavior. There may still be sexist attitudes, say, at a large company but the norm is to make a serious effort prevent them. Believe it or not but laws actually matter... Laws don't prevent bad behavior but they certainly mitigate it. Also, I suspect that one sees bad behavior most often the very top of the large corporations, since those with the most power are naturally mostly likely see themselves as above anyone's else's laws. But the top of a large company is a small area compared to the vast middle.
You can't do that with a tiny startup because there's not enough to sue for.
In the USA you'd be right, in Europe or Asia much less so.
Private company shares are very risky.
Also beware offers of significant amounts of stock in exchange for sticking around for an acquisition. The investors likely know the company won't reach its liquidation preference and thus whatever shares they give you are actually worthless.
That said, the author of the post works only in the LA area, so I think all his experience has been with media-oriented startups. I have a feeling there's a higher degree of frat boy douchiness in that world. San Francisco startups tend to have a more placid, nerdy, bike-rack-in-the-lobby atmosphere, although they can ultimately be just as cruel.