Su StackOverflow è stata lanciata una discussione che elenca i commenti più divertenti e strani usati nel codice sorgente. Molti sono davvero divertenti e vale la pena leggerli.
Si va dal filosofico:
/**
* 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.
*/
all'ironico:
//
// 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 = 39
//
al beffardo:
Exception up = new Exception("Something is really wrong.");
throw up; //ha ha
allo spirituale:
//When I wrote this, only God and I understood what I was doing
//Now, God only knows
al romantico:
// 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.
Insomma, ce n'è per tutti i gusti. Da non perdere. :-D