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


当前回答

// Sorry dirty code

其他回答

// Empty constructor to satisfy the stupid compiler
 Public ServletHandlerClass () { } 
// Bad Christian, No cookie

这里的Cookie不是指浏览器Cookie

/*
 * You may think you know what the following code does.
 * But you dont. Trust me.
 * Fiddle with it, and youll spend many a sleepless
 * night cursing the moment you thought youd be clever
 * enough to "optimize" the code below.
 * Now close this file and go play with something else.
 */ 

这是我最喜欢的评论。

/// 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
virgin = 0;     /* you're not a virgin anymore, sweety */