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


当前回答

THIS PROGRAM HAS CODE THAT DOES NOT MEET STANDARDS      

这个评论几乎出现在我们这里的每一个节目中....

其他回答

// now swap like a <explicative removed>

前段时间我看到:

raise InvalidChild() # e.g. no legs

这很奇怪,因为“inwalida”在波兰语中是残疾人的意思。愚蠢的我:)

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!!!
}
/*
* Wirzenius wrote this portably, Torvalds fucked it up :-)
*/
} catch (PartInitException pie) {
    // Mmm... pie