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


当前回答

在拉丁语中,从但丁的《神曲》中进入这里的人,请放弃希望。

其他回答

我刚刚在一些遗留代码中发现了这个..

'CANNOT JUST QUIT!

不是代码注释,而是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"

//说明:!!待办事项

这是在PHP代码中找到的

$s=2; // chicken and bacon wrap for lunch

多么有用,幸运的是$s是不言自明的

// but the "real" solution is much more complicated

从jpgraph