Funniest code comment ever..

A colleague of mine sent me this little snippet of gold yesterday - it had me laughing like a drunken seal so i figured i'd share it.

//
// Dear maintainer:
//
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
//
// total_hours_wasted_here = 16
//

Priceless...have you seen any other funny code comments?

Published Tue, Apr 21 2009 8:44 by Brian Madsen

Comments

# To whom it may concern (code comments)

Tuesday, April 21, 2009 12:10 PM by Reed Me

I thought I was the only one who left warnings in my code for future maintainers... Or maybe Brian inherited

# re: Funniest code comment ever..

Friday, April 24, 2009 12:47 PM by Jim McKeeth

That is a great one, and I have worked in code that should have that comment block.  This is probably the funniest comment block I have encountered in code I was working on though:

//

//  Oh what a tangled web we weave

//  when first we practice to deceive.

//

I think that was my first week on a new job.  Didn't fill me full of confidence.

# re: Funniest code comment ever..

Friday, May 15, 2009 1:40 AM by Ole

botman made a website which shows some of the funny comments from the Half-Life SDK

botman.planethalflife.gamespy.com/humor.shtml

# Sometimes, code comments are informative and helpful

Monday, June 15, 2009 6:42 AM by Tim Mitchell

... and other times, they are stop-you-in-your-tracks funny. Here's an example of the latter: http