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


当前回答

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

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

其他回答

// This code was written by a genius so don't try to understand it with
// your tiny little brain.

好吧,这是我刚刚提到的一个问题:

/* Every time I re-visit this function, I feel like
 * I need to take a shower.
 *
 * Don't get too used to this function, its days are
 * numbered.
 */

有人可以创建像greatcodecomments.com这样的网站,然后赚点钱。然而,那个人不是我。

i++; //increment i

我告诉学员至少做一些异常处理。这是我在每一个db调用....返回

Catch (Exception e) {
    //eat it
}

//说明:!!待办事项