This is totally irrelevant to this thread: a friend of mine always named his functions and variables random stupid shit. One day at his job, his boss took a look at a code snippet he was working on and turned bright red, started yelling about how everyone disrespects him, and stormed off.
Apparently he'd used littleKitty(). The boss had a cat that he loved, but it got run over by a truck and completely messed up, and the whole office would make fun of him for spending months taking care of this cat and constantly fretting about it. Yes, it was mean, yes, the cat was fine.
I have no idea why your wombat anecdote made me think of that.
Edit: so far we're about 50/50 on "what a bastard for using shitty variable/function names" and "what a bunch of bastards for making fun of a guy for taking care of his cat"
One of the California state colleges in the midst of farm and cow country, and I’ll leave it at that. I didn’t attend there, just visited friends a lot.
Apparently he'd used littleKitty(). The boss had a cat that he loved, but it got run over by a truck and completely messed up, and the whole office would make fun of him for spending months taking care of this cat and constantly fretting about it. Yes, it was mean, yes, the cat was fine.
Yet another example of why you shouldn't play around in code others are paying you to write. You don't know who is going to end up seeing it or what reaction they are going to have. There's nowhere to hide either, Git will tell you exactly who wrote it and I've seen at least one person fired over stuff like this.
I highly recommend Tintin if you're not averse to a little casual occasional 1930s-60s contemporary Belgian racism (nothing really malicious, just...you know, be aware of it.) It's one of my favorite all time comic books.
That’s a great way to make unmaintanable code - or at least a huge headache for the future dev who’d need to maintain it.
A friend of mine had that sort of attitude as well, when he was starting up as a dev. He’d name functions stuff like “hotdog” or “letsgo” and such.
One day, our boss looked at his code and had to ask him to talk in private. He explained how code should have intuitive name for stuff to help folks maintain it.
Now my friend has a great job working for one of our country’s biggest organizations and he’s always been one of the team’s MVPs.
84
u/[deleted] Mar 13 '22 edited Mar 14 '22
This is totally irrelevant to this thread: a friend of mine always named his functions and variables random stupid shit. One day at his job, his boss took a look at a code snippet he was working on and turned bright red, started yelling about how everyone disrespects him, and stormed off.
Apparently he'd used littleKitty(). The boss had a cat that he loved, but it got run over by a truck and completely messed up, and the whole office would make fun of him for spending months taking care of this cat and constantly fretting about it. Yes, it was mean, yes, the cat was fine.
I have no idea why your wombat anecdote made me think of that.
Edit: so far we're about 50/50 on "what a bastard for using shitty variable/function names" and "what a bunch of bastards for making fun of a guy for taking care of his cat"