July 17, 2009

Interesting Comments in the code !!:: Too Good

 

  The best code comment seen in source code ......

1.  /// <summary>
    /// Class used to work around Richard being a  $#@%^&*  idiot
    /// </summary>
    /// <remarks>
    /// The point of this is to work around his poor design so that paging will
    /// work on a mobile control. The main problem is the BindCompany() method,
    /// which he hoped would be able to do everything. I hope he dies.
    /// </remarks>

 

2.

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

 

3.

// Magic. Do not touch.

 

4.

return 1; # returns 1

 

5.

/* This is O(scary), but seems quick enough in practice. */

 

6.

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

 

7.

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

 

 

No comments:

Post a Comment

Please Leave your valuable comments here. Thanks in Advance.

Disclaimer

Spend time by reading assumes no liability for the accuracy or completeness of any of the information contained on this web site. Furthermore, spend time by reading neither assumes liability for the accuracy or completeness, nor endorses the contents of, any outside links from our web site. This information is provided as a public service for convenience purposes only. Reliance upon the accuracy or completeness of the information contained herein is at the user’s risk. Users are strongly encouraged to make every effort to verify the accuracy and/or completeness of the information before reliance thereon.