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


当前回答

一个奇怪而恰当的有趣错别字:

断言(0);//永远不要在这一点上犯错

其他回答

var arbitraryNumber = 10;
//I don't know why. Just move on.

BerkeleyDB

/*
 * Chaos reigns within.
 * Reflect, repent, and reboot.
 * Order shall return.
 */
return (DB_RUNRECOVERY);
//  If you delete the credits, I will fucking kill you.

在joomla模块中找到。

摘自UNIX版本6源代码,大约1975年:

/* You are not expected to understand this. */

我所见过的最好的评论是

/* 
  There is no accounting for pointers 
*/