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


当前回答

// All this code is yours, except gedit()...attempt no modifications there.

其他回答

这是我最喜欢的评论。

/// I intend to do this as shittily as possible because there are many better products that will totally blow this out of the water
/// and we don't have them so whatever

在后面的文件中,我们有更多的乐趣

/// sidestep a bug in WCF (that we can't send types across)
/// or, depending on how you look at, this issue is a Feature

稍后再讲

if( where == null)//be nice
// TODO: Implement this function!
//The following code is commented out
//(a load of commented out code followed)

一个奇怪而恰当的有趣错别字:

断言(0);//永远不要在这一点上犯错

try {

} finally { // should never happen 

}