Friday, July 31, 2009

Friday Funny: Funniest code comments ever encountered

The site:
Stack Overflow: What is the best comment in source code you have ever encountered?

Choice selections:

//
// 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

//

**

// drunk, fix later

**

// Magic. Do not touch.

**

//When I wrote this, only God and I understood what I was doing
//Now, God only knows

**

doRun.run(); // … “a doo run run”.

Do click and get hours of laughter on.

Cheers!

No comments:

Post a Comment