FUN: Best comments in source code #technical

6 views
Skip to first unread message

kishor chandra

unread,
Feb 7, 2013, 1:47:34 AM2/7/13
to grietmca08

// drunk, fix later
#define TRUE FALSE //Happy debugging Folks

// I'm sorry.
return 1; # returns 1

// Replaces with spaces the braces in cases where braces in places cause stasis 
   $str = str_replace(array("\{","\}")," ",$str);
Catch (Exception e) {
 //who cares?
} 

/**
 * Always returns true.
 */
public boolean isAvailable() {
    return false;
}

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

long long ago; /* in a galaxy far far away */ 
//This code sucks, you know it and I know it.  
//Move on and call me an idiot later.
// I am not sure if we need this, but too scared to delete.

// I am not responsible of this code.
// They made me write it, against my will.

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

class Act //That's me!!!
{

}
public boolean isDirty() {
    //Why do you always go out and
    return dirty;
}
// If you're reading this, that means you have been put in charge of my previous project.
// I am so, so sorry for you. God speed.


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

// somedev1 -  6/7/02 Adding temporary tracking of Login screen
// somedev2 -  5/22/07 Temporary fix

Last but not least

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

--
Thanks and regards,
Kishor Chandra N
Mobile Application Developer,
Riktam Tech consulting pvt ltd,
Reply all
Reply to author
Forward
0 new messages