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


当前回答

/**
 * Hexadecimal digit
 */
protected $version = -1;

其他回答

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

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

我刚刚注意到自己在写这个

// not brilliant solution, but fair enough heh.

我经常发现这个

// fix it!

这实际上是我在实现原型转换为实际代码时所做的:

// Abandon all hope you who needs to debug this

是的,有比我聪明的人在之后重构了代码(它必须有一个好的结局)。

不是真的评论:

DvLog::Log("This silly log message fixes a PSCRIPT5.DLL gpf when printing to Adobe.");

可悲的是,没有评论,PSCRIPT5.DLL真的炸了…