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


当前回答

// Caveat implementor

其他回答

我记不清了,大概是这样的:

Person p = new Person("John", "Doe", "male");
Collection women = new ArrayList();
women.insert(p.getTail());

这是肮脏的代码;)

刚刚在一些Actionscript中发现了这个,我必须更新…

/*
* spaghetty code in this module.
* hardcoded variables for load paths for the content window.
* Needs (vast) improvement.
*/

..大:(

我没有这个来源的副本,但我一直记得它:

//如果你想不明白,就不要读这篇文章

// BEGIN HACK
...
// END HACK: I feel dirty.

//我穿上长袍,戴上巫师帽……