How to improve a day

Friday 26 September 2003

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.


andrew 8:43 PM on 26 Sep 2003

Don't forget "mishigas"!

Ben Poole 3:24 AM on 27 Sep 2003

LOL! It is a great word. My current words of choice are:

"Gah!" and,

They change fairly often.

Chris 5:11 AM on 27 Sep 2003

reminds me of a comment rumoured to be in the un*x kernel

/* You are not meant to understand this /*

Bob 12:41 PM on 27 Sep 2003

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!)

Bob 12:51 PM on 27 Sep 2003

Lots of other funny source code comments here:


Daniel Axelrod 2:30 PM on 27 Sep 2003

I've written code documented with

"Additional chicanery takes place so that calls to methods inherited from UNIVERSAL are intercepted..."

Daniel Axelrod 2:42 PM on 27 Sep 2003

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:

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:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.