Posted by: Adam Deane | 11/03/2010

Best Comments Found in Source Code

matrix code

If you have never written code – this article is not for you.
I found this on the web – Here are some best comments found in source code

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

2. // Magic. Do not touch.

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

4. // I dedicate all this code, all my work, to my wife, who will
     // have to support me and our three children and the dog once it gets
     // released to the public.

5. // Code sanitized to protect the foolish.

6. // return 1; // returns 1

7. // Page filler

8. /// Class used to work around Richard being a fucking idiot
     ///
     ///
     /// 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.
     ///

9. # To understand recursion, see the bottom of this file
     At the bottom of the file:
     # To understand recursion, see the top of this file

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


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Categories

%d bloggers like this: