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


当前回答

摘自UNIX版本6源代码,大约1975年:

/* You are not expected to understand this. */

其他回答

我经常看到这种情况:

// TODO make this work

我曾经在一个用Paradox 3.5 -编写的大型预算系统工作多年后接到一个客户的电话

“我们在调试中遇到了一些注释”-

// This shouldn't happen, if it does, then the bits that automagically 
// worked when I wrote it have stopped working

... !

// For the sins I am about to commit, may James Gosling forgive me
try
{
...
}
catch(Exception ex)
{
//if this happens the world is going to end...
}

现在猜猜发生了什么……

// Empty constructor to satisfy the stupid compiler
 Public ServletHandlerClass () { }