What is the best comment in source code you have ever encountered?
stackoverflow.com
What is the best comment in source code you have ever encountered?
1–10 of 50 posts
Re: What is the best comment in source code you have ever encountered?
#2From an educational app:
if($_GET["action"] == "score") {//that's what she said
Re: What is the best comment in source code you have ever encountered?
#3Re: What is the best comment in source code you have ever encountered?
#4Good funny post, that was the best laugh I've had all day. Thanks!
Re: What is the best comment in source code you have ever encountered?
#5In a parser for a config file:
if (line[0] == '#') continue; // commentRe: What is the best comment in source code you have ever encountered?
#6There's some great stuff in there. I really liked this one:
// somedev1 - 6/7/02 Adding temporary tracking of Login screen
// somedev2 - 5/22/07 Temporary my ass
(http://stackoverflow.com/questions/184618/what-is-the-best-c...)Re: What is the best comment in source code you have ever encountered?
#7Not to be a grouch, but most of this seems puerile and borderline irresponsible to me. Source code should be concise and beautiful, not a repository for unfunny attempts at humor by programmers.
Re: What is the best comment in source code you have ever encountered?
#8 // I have to put this part in because Ken is a dickRe: What is the best comment in source code you have ever encountered?
#9 #Christmas tree initializer
toConnect = []
toRead = [ ]
toWrite = [ ]
primes = [ ]
responses = {}
remaining = {}
http://stackoverflow.com/questions/184618/what-is-the-best-c...Re: What is the best comment in source code you have ever encountered?
#10You just obliterated like 3 hours of my time. Good job!