How to improve a day

Friday 26 September 2003This is more than 21 years old. Be careful.

I find, no matter how my day is going, if I can write some code that has the word “shenanigans” in the comments, it’s just that little bit better.

Comments

[gravatar]
Don't forget "mishigas"!
[gravatar]
LOL! It is a great word. My current words of choice are:

"Gah!" and,
"convoluted"

They change fairly often.
[gravatar]
reminds me of a comment rumoured to be in the un*x kernel

/* You are not meant to understand this /*
[gravatar]
Best one I've seen is in the Notes source for display of lines in a view:

// Format the column. This is, and always was, the mother of all
// routines. Sorry. (PUSH! PUSH! It's coming! It's... a BOY!)
[gravatar]
Lots of other funny source code comments here:

http://cm.bell-labs.com/cm/cs/who/dmr/odd.html

and

http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=3364
[gravatar]
I've written code documented with

"Additional chicanery takes place so that calls to methods inherited from UNIVERSAL are intercepted..."
[gravatar]
The source code for perl (the interpreter/compiler itself) is infamous for some of the comments in it.

double value; /* or your money back! */
short changed;/* so triple your money back! */
-- Larry Wall in cons.c from the perl source code

For more of this, see this collection of Larry Wall quotes:
http://www.cpan.org/misc/lwall-quotes.txt.gz

Add a comment:

Ignore this:
Leave this empty:
Name is required. Either email or web are required. Email won't be displayed and I won't spam you. Your web site won't be indexed by search engines.
Don't put anything here:
Leave this empty:
Comment text is Markdown.