[humour] Les perles des commentaires

Un topic sur StackOverflow recense les commentaires les plus farfelus trouvés dans les codes sources. De quoi faire sourir plus d’un développeur ! En voici quelques un de mes préférés :

 

 

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

 

 

 

// 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 my ass
// drunk, fix later
// Magic. Do not touch. 
//This code sucks, you know it and I know it.
//Move on and call me an idiot later.
# To understand recursion, see the bottom of this file {...}
# To understand recursion, see the top of this file
// 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 will give you two of my seventy-two virgins
// if you can fix this.
// I have to find a better job
// Catching exceptions is for communists
// 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.
// If this code works, it was written by Paul DiLascia.
// If not, I don't know who wrote it
// if i ever see this again i'm going to start
// bringing guns to work
/* Ah ah ah! You'll never understand why this one works. */

Quelques perles de nos lecteurs :

@ibi :

# Dafuq is this ?

// I don’t remember what this function actually does but it doesn’t matter

// To avoid headache, please do not read this part

// You’re a kitty !

# WWTTTTTFFFF ??????!!!!

@Bastien :

#DEFINE TRUE FALSE /* Have fun. */

Bref ! Beaucoup de bonnes perles que je n’ai pas besoins de traduire. Je crois que je vais m’y mettre également. Retrouvez toutes ces citations sur le sujet de StackOverflow !

8 commentaires

  1. Quelques perles trouvées dans des projets auxquels j’ai participé :

    # Dafuq is this ?

    // I don’t remember what this function actually does but it doesn’t matter

    // To avoid headache, please do not read this part

    // You’re a kitty !

    # WWTTTTTFFFF ??????!!!!

Laisser un commentaire