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


当前回答

在1983年的COBOL中见过:

   C   I don't know what this next bit does so I'll jump around it
       GOTO DONE.

其他回答

下面是一个必须声明的局部变量,只是为了将一个常量传递给库函数:

// This only exists because Scott doesn't know how to use const correctly

我经常看到这种情况:

// TODO make this work
return 1; # returns 1
// This code was written by a genius so don't try to understand it with
// your tiny little brain.

在开发团队中每个人都在大量编辑的代码文件头部:

'Avert your eyes, it may take on other forms!

好弗兰德斯。