CodeSOD: Classic WTF: Pointless Revenge
As we enjoy some summer weather, we should take a moment to reflect on how we communicate with our peers. We should always do it with kindness, even when we really want revenge. Original -- Kind regards, Remy
We write a lot about unhealthy workplaces. We, and many of our readers, have worked in such places. We know what it means to lose our gruntle (becoming disgruntled). Some of us, have even been tempted to do something vengeful or petty to get back" at the hostile environment.
But none of us actually have done it (I hope?). It's self defeating, it doesn't actually make anything better, and even if the place we're working isn't, we are professionals. While it's a satisfying fantasy, the reality wouldn't be good for anyone. We know better than that.
Well, most of us know better than that. Harris M's company went through a round of layoffs while flirting with bankruptcy. It was a bad time to be at the company, no one knew if they'd have a job the next day. Management constantly issued new edicts, before just as quickly recanting them, in a panicked case of somebody-do-something-itis. Bob" wasn't too happy with the situation. He worked on a reporting system that displayed financial data. So he hid this line in one of the main include files:
#define double float//Kind Regards, Bob
This created some subtle bugs. It was released, and it was months before anyone noticed that the reports weren't exactly reconciling with the real data. Bob was long gone, by that point, and Harris had to clean up the mess. For a company struggling to survive, it didn't help or improve anything. But I'm sure Bob felt better.
[Advertisement] Otter - Provision your servers automatically without ever needing to log-in to a command prompt. Get started today!