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


当前回答

我不止一次使用过这个方法,当我对一个数学公式做了一些不明显的简化时,我不想记录:

//this formula is right, work out the math yourself if you don't believe me

其他回答

我所见过的最好的评论是

/* 
  There is no accounting for pointers 
*/
'Do not optimize these next two lines. Compiler bugs lurk.

他们做到了。将变量压缩到第二行表达式中会导致跳到堆中间并尝试执行数据。

//迭代一次 美元我+ +;

不幸的是,它是我的,在我的“必须评论一切”阶段。

  mov si, pCard      ; captain?

来自一个显然在看巨蟒剧团的小伙子:

> //现在,for something完全 > // different: 类theLarch {