Komentáre v zdojových kódoch

    Toto je moja najoblubenejšia sekcia, pretože toto nie sú výmysly. Toto sú reálne komentáre v zdojových kódoch napísané yúfalými programátormi. Laughing


    //Update: 26.10.2010

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


    // I am not responsible of this code.

    // They made me write it, against my will.


    //Dear future me. Please forgive me.

    //I can't even begin to express how sorry I am.


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


    /* * You may think you know what the following code does.

    * But you dont. Trust me
    * Fiddle with me, and youll spend many a sleppless
    * night cursing the moment you thought you be clever
    * enough to "optimize" the code below.
    * Now close this file and go play with something else.


    // drunk, fix later


    // Magic. Do not touch.


    //When I wrote this, only God and I understood that 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.


    Catch (Exception e) {

    //who cares?
    }


    //This code sucks, you know it and I know it.

    //Move on and call me an idiot later.


    // I'm sorry.


    /* You are not meant to understand this */


    /* TODO: this is obviously not right ... this whole fucking module sucks anyway */


    # code below replaces code above - any problems?

    # yeah, it doesn't fucking work.


    // hack for ie browser (assuming that ie is a browser)


    // John! If you'll svn remove this once more,

    // I'll shut you, for God's sake!
    // That piece of code is not "something strange"!
    // That is THE AUTH VALIDATION.


    // Mr. Compiler, please do not read this.


    // I am not sure if we need this, but too scared to delete.


    double penetration; // ouch


    // Hard to explain


    // DON'T SCREW WITH THIS CODE UNLESS YOU REALLY UNDERSTAND IT!


    // Empty constructor to satisfy the stupid compiler