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


当前回答

在makefile中找到这个

# ===== Never edit below this line. Ever. Or I'll kick your ass. ====

其他回答

不是代码注释,而是SVN在同一个文件上提交注释:

第一次提交(在测试人员返回结果后,再进行数十次提交):

Squashed some IPR mod bugs. The were big and juicy ones, too.

2日提交:

Squashed some more mod bugs. Those are some nasty bugs, them mod bugs...

3rd:

Squashed some more mod bugs. They are like cockroaches: they'll live through a nuclear war.

4th:

Squashed some more John bugs. They too are like cockroaches: they appear anywhere John goes. Wait. That doesn't sound right.

5:

Same John bug. It didn't die, just played 'possum.

是的,我厌倦了"修复bug"

/* Jeez, this is an ugly mess */

...comment from the X11R6 internals source code circa 1991.

javascript函数的第一行:

// this part is more difficult

WTF?

我发现了这个:

I'm not sure what I did
//  Hey, your shoe's untied!

后面跟着一些可疑的代码,在这些代码中,

//  Keep looking!  I think it was the other shoe!

最后,

//  How strange -- I must be seeing things.  Anyhow, I'm going to go take a shower, now...