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


当前回答

// This procedure is really good for your dorsolateral prefrontal cortex.

你们中有些人,由于某种特殊的原因,不知道DPC,当你深入学习新东西时,你大脑的这一部分会亮起来。

其他回答

// Okay, let's do the loop, yeah come on baby let's do the loop
// and it goes like this ...
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!!!
}

我曾经在一个项目中发现了这样的评论:

// Cabbage fart?

我不知道那是什么意思。还好我的魔方不在写它的人旁边。

http://fxr.watson.org/fxr/source/pci/if_rl.c 是好的来源。

Tweet tweet = (Tweet) tweets.get(i); // Poetic.