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


当前回答

我们有一个文件,在它的一半,一个程序员试图弄清楚混乱的意义,设法将所有无意义的代码移到底部,并留下了这样的评论:

I have no idea what this stuff does below here.

另一名程序员留下了一系列嵌套的命名空间,这些命名空间的作用类似于“方向手册”,这样您就可以钻取想法中的名称空间并选择您的操作。

其他回答

long time; /* just seems that way */
// BEGIN HACK
...
// END HACK: I feel dirty.
// Keep prozac ready if things get ugly!
// Empty constructor to satisfy the stupid compiler
 Public ServletHandlerClass () { } 
// Sorry dirty code