Wednesday, September 15, 2010

Funny Comments found in source code

//  // 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 = 17
//When I wrote this, only God and I understood what I was doing
//Now, God only knows
// I dedicate all this code, all my work, to my wife, Darlene, who will 
// have to support me and our three children and the dog once it gets
// released into the public.
// Magic. Do not touch.  
/*  * You may think you know what the following code does. 
* But you dont. Trust me.
* Fiddle with it, and youll spend many a sleepless
* night cursing the moment you thought youd be clever
* enough to "optimize" the code below.
* Now close this file and go play with something else.

#define TRUE FALSE //Happy debugging suckers

// If this comment is removed the program will blow up
// somedev1 -  6/7/02 Adding temporary tracking of Login screen 
// somedev2 - 5/22/07 Temporary my ass
double penetration; // ouch  
long long ago; /* in a galaxy far far away */  

//I am not sure why this works but it fixes the problem.

// I am not responsible of this code.

// They made me write it, against my will.
options.BatchSize = 300; //Madness? THIS IS SPARTA! 

//Abandon all hope yea who enter beyond this point

// If this code works, it was written by Paul DiLascia. If not, I don't know who wrote it

No comments: