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


当前回答

public boolean isDirty() {
    //Why do you always go out and
    return dirty;
}

其他回答

// Oh crap, i think i'm gonna yack

随后不久又有:

// TODO: end this lunacy

在LKM中:

/*
* Dear Richard Stallman,
*
* This one's for you.
*
* Sincerely,
* Me
*
*/
MODULE_LICENSE( "GPL" );
try
{
...
}
catch(Exception ex)
{
//if this happens the world is going to end...
}

现在猜猜发生了什么……

# To understand recursion, see the bottom of this file 

在文件的底部:

# To understand recursion, see the top of this file

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