News for hackers. Stuff that matters.
Re:Ask HN:What is the best comment in source code you have e... by gjsriv on Sunday August 18, 2013 @10:19AM (#6232722)
Quora has the answer already? Even Stackoverflow-http://stackoverflow.com/questions/184618/what-is-the-best-c...
Re:Ask HN:What is the best comment in source code you have e... by orenbarzilai on Sunday August 18, 2013 @08:51AM (#6232532)
//when I wrote it only GOD and I knew what it does. Now only GOD knows.
Re:Ask HN:What is the best comment in source code you have e... by mb_72 on Sunday August 18, 2013 @03:59PM (#6233959)
It was a self-commenting C++ friend function named "ifyouusethisfunctioniwillstrangleyoumyself", written by our extremely talented team leader. There were a couple of times it was necessary to call this function; the name was there merely to make people think about whether they REALLY needed to call it. Discovering the function itself meant people had already identified some need in their code for it. So - no actual comment, but a very wonderful piece of code that make people think, and prompted many discussions about the correctness of what they were attempting.
Re:Ask HN:What is the best comment in source code you have e... by o0-0o on Thursday August 22, 2013 @11:05AM (#6257557)
Customer(The.Bastard)

Found in GoldMine code in 2000 beta testing. Changed shortly after.

EDIT: Not actually a comment, it was a variable named Customer with a property (The.Bastard).