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


当前回答

从泄露的Win2K源代码:

//这次黑客入侵的规模堪比国家债务的规模。

其他回答

//open lid


//take sh!t


//close lid

文件打开,数据转储,文件关闭…

几年前我在。h文件里看到的。

// It may be a hack, but it works.
try {

}
catch (SQLException ex) {
    // Basically, without saying too much, you're screwed. Royally and totally.
}
catch(Exception ex)
{
    //If you thought you were screwed before, boy have I news for you!!!
}
//Dave chapelle reports errors.
function reporterror() {
  davechapelle.trace("FUCK!");
}

我最喜欢的是这样的

 # commented out
 ...
 ### end of the formerly uncommented #2001-02-22 John Doe