F**kin error messages
Ah, profanity in code. I remember my Compilers and Compilers 2 courses; by the time I was in Compilers 2, I had forgot most of my code, and built the code generation phase on top of the year-old codebase.
Imagine my face when I find something along the lines of:
case 'A': // accept symbol, fuckin' A!!!
(loose translation from Spanish, the original Spanish phrase was a little bit more offensive)
Which was on plain view for my teacher. And the rest of the class, as it was on the projector. Oops.
Recently, a small change on an existing app caused a bug that triggered one of those "can't get here" logger messages. The reaction from users was amusing, as this message was:
"Error 666: HELP! THE MACHINES HAVE RISEN! RUN TO THE HILLS! RUN FOR YOUR LIFE!"
Ok, that's what happens when you mix Terminator with Iron Maiden. I wonder if my other apps have shown "If you can read this, your system is stoned" messages...