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


当前回答

从Joomla !来源:

// this is daggy??

其他回答

// This part is more difficult

在方法的顶部。

大概有5行。

并不难。

这是唯一的评论。

在整个应用程序中。

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

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

有一些旧的javascript代码,写得很好。然后是一条评论线

// and there is where the dragon lives

接下来是一个功能,4个人花了一天时间来理解它在做什么。最后我们意识到它根本没用,什么都没有。

int Q13Factor = 8125; // 2^13 for Q13 
//The following code is commented out
//(a load of commented out code followed)