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


当前回答

# To understand recursion, see the bottom of this file 

在文件的底部:

# To understand recursion, see the top of this file

其他回答

//this is a crap way to do this but I ran out of patience

DelButton.click(); 

这是一个旧的IOCCC获奖条目,我不得不下载整个获奖档案——一个巨大的1.4 M——和grep的几个短语,我记得错了才找到它。

从语法上看,这可能不是注释。或许是这样。我还没想明白。它肯定没有注释分隔符,但也没有字符串分隔符。

C="Lint says "argument Manual isn't used."  What's that
mean?";

没有价格来猜测棉绒的产量。

对于好奇的人来说,这个条目在这里。

// I don't know why I need this, but it stops the people being upside-down

x = -x;

当被问及什么是“最好的评论”时,我们的回答都是我们能找到的最糟糕的评论,这充分说明了我们的职业……

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