Proper geekery


thanks to Paul for sending me this.

It’s all about comments in source code – that’s what programmers write and when it either gets compiled or run in a web browser, that’s what gives you all the dynamic functionality.That’s a dreadful description. When programmers write code, they often put comments into the code to describe what they have done in more simple english.

Some of those comments are really funny.

http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered

This is definitely up there in hystericalness –

/**
* For the brave souls who get this far: You are the chosen ones,
* the valiant knights of programming who toil away, without rest,
* fixing our most awful code. To you, true saviors, kings of men,
* I say this: never gonna give you up, never gonna let you down,
* never gonna run around and desert you. Never gonna make you cry,
* never gonna say goodbye. Never gonna tell a lie and hurt you.
*/

as is 

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

and 
stop(); // Hammertime!

This however, has happened to all of us 

//When I wrote this, only God and I understood what I was doing
//Now, God only knows
// Magic. Do not touch.

// drunk, fix later
// I'm sorry.
long john; // silver
<!-- Here be dragons -->

2 thoughts on “Proper geekery

  1. He did. And yes, it was. I’m still reading it.
    //
    //3.4 JeK My manager promised me a lap dance if I can fix this release
    //3.5 JeK Still waiting for that dance from my manager
    //3.6 JeK My manager got changed, the new manager is hairy, dont want the dance anymore
    //3.7 Jek Got that dance, yuck!

Comments are closed.