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


当前回答

以下注释来自我必须调试的一个旧项目:

//Haleluya i can go home!

其他回答

// A Gorgon class - For the love of Zeus don't look directly at it!
// Added because boss changed his mind : 20020111,20020501,20020820, ...
// Commented out because boss changed his mind : 20020201,20020614,20020908, ...

在ETL脚本之间的主要黑客RPG数据库和SQL Server一个。我大概有10到20次这样的评论……

-- Change Log:  Not needed. The code is perfect 'cause I wrote it.
-- If you change it, it will break.

我正在检查一些代码注释,以检查它们是否有意义,并看到上面的一行。

long long ago; /* in a galaxy far far away */ 
i++; //increment i