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


当前回答

// Keep prozac ready if things get ugly!

其他回答

这实际上是我在实现原型转换为实际代码时所做的:

// Abandon all hope you who needs to debug this

是的,有比我聪明的人在之后重构了代码(它必须有一个好的结局)。

//FIXME: fix this before the 1.0 release

他们在第4版

这是众所周知的,但我喜欢它(在sys/ufs/ufs_vnops.c中):

/*
 * A virgin directory (no blushing please).
 */

在FreeBSD内核源代码树中(甚至在之前,回到4.xBSD)

//There can Only Be one HIGHLAN....err..Singleton
public class SomeSingleton
{
...
}

//休斯顿,我们有麻烦了