Les meilleurs commentaires dans un code source

Les meilleurs commentaires dans un code sourceVoici une liste trop drôle et insolite des commentaires intégré dans les codes sources des sites ou applications web. C’est vraiment a mourir de rire Les meilleurs commentaires dans un code source

 //hack for ie browser (assuming that ie is a browser)
// if i ever see this again i'm going to start bringing guns to work 
 // TODO: Fix this. Fix what?
//
// 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
// 
 // no comments for you
// it was hard to write
// so it should be hard to read
 // I will give you two of my seventy-two virgins if you can fix this.
 options.BatchSize = 300; //Madness? THIS IS SPARTA!
 // I am not responsible of this code.
// They made me write it, against my will.
  double penetration; // ouch
 //somedev1 - 6/7/02 Adding temporary tracking of Logic screen
//somedev2 - 5/22/07 Temporary my ass
 /*
* 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
// 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 
 //When I wrote this, only God and I understood that I was doing
//Now, God only knows
// If this comment is removed the program will blow up 
virgin = 0;     /* you're not a virgin anymore, sweety */ 
 ## Safety pig has arrived!
##                               _
##  _._ _..._ .-',     _.._(`))
## '-. `     '  /-._.-'    ',/
##    )         \            '.
##   / _    _    |             \
##  |  a    a    /              |
##  \   .-.                     ;
##   '-('' ).-'       ,'       ;
##      '-;           |      .'
##         \           \    /
##         | 7  .__  _.-\   \
##         | |  |  ``/  /`  /
##        /,_|  |   /,_/   /
##           /,_/      '`-'
##
// Catching exceptions is for communists

Vous trouvez plus d’autres commentaires drôles ici

Les meilleurs commentaires dans un code source

hamdanih

IT, Geek, ex-Blogger,Twitter Addict, Video Gamer. Love Music & Football. No politic plz.

Voir tous les articles - Site Web

Follow Me:
Les meilleurs commentaires dans un code source