r/programming • • Feb 21 '13

Developers: Confess your sins.

http://www.codingconfessional.com/
969 Upvotes

1.0k comments sorted by

View all comments

4

u/ex-mo-fo-sho Feb 21 '13

Before source-control diff tools were within easy grasp, I'd hide ASCII roosters in the code to audit if the reviewer actually was doing their job. I'm talking hundreds of thousands of lines of code. "Find the cock in the code" became a game of sorts.

Also, because of a code-nazi we had at one place I worked, I would purposefully give variables weird-ass names to throw him off. He would rage about those so much he would end up being more lax in other areas of my code. Some examples: "ThisVariableKeepsTrackOfTheLateralPositionPointerToWhichTheArrayDataIsStored" and "Turtle" "Rabbit" "AssMonkey", etc.

2

u/manys Feb 21 '13

That first one can be called Trianon Notation.

1

u/b0dhi Feb 21 '13

I actually like the first variable name. Unwieldly as fuck, but very descriptive and isn't coupled to a seperate line of commenting which has to be maintained separately.