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


当前回答

来自sendmail配置文件。一页又一页看起来就像线条噪音。我发现了这块宝石。

# insert this handy debugging line wherever you have problems
#R$*                $:$>99$1

其他回答

-- Comment this later

这是一个4000多行的PL/SQL过程的第2行。唯一的评论。手术已经进行了4年了,后来还是没来…

从泄露的Win2K源代码:

//这次黑客入侵的规模堪比国家债务的规模。

在拉丁语中,从但丁的《神曲》中进入这里的人,请放弃希望。

// I have to find a better job

我想我有过这样的经历:


if (case1) { // trivial
...
}
else { // we are screwed
 /* fill in later */
}

好吧,我可能用了一个比搞砸更强烈的词