你遇到过的源代码中最好的注释是什么?


当前回答

' Oh man I'm pissed. I think I better go home.

哪里喝醉了

其他回答

Case 1:
   ...
   break;
   ...
//I don't want do do this but [my coworker] says it's part of the code standard
default:
   break;

Dennis M Ritchie在这里有一个关于一些古老UNIX注释的页面

if(count<0) count=0;    //don't get me wrong but this has to be done :p
private static final Logger lager = new Logger();

好吧,这是我刚刚提到的一个问题:

/* Every time I re-visit this function, I feel like
 * I need to take a shower.
 *
 * Don't get too used to this function, its days are
 * numbered.
 */

有人可以创建像greatcodecomments.com这样的网站,然后赚点钱。然而,那个人不是我。