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


当前回答

//If the Current Record is Getting End Dated, We should not create New History Entry. 
//We Just need to Update the Previous History Entry
//If the History is already End Dated and the New Record is now removing End Date, Then 
//We should not update the Previous History End Date. 
//We Just need to Create the New History Record Only.
//Alright.. 
//Alright.... 
//Enough Comments. Code it. :-)

其他回答

从泄露的Win2K源代码:

//这次黑客入侵的规模堪比国家债务的规模。

# let's pretend we are free, for a while

在教室前面发现了这个。接下来是一个(天真的)实现ORM的尝试。我还是不明白他为什么这么写。

在js代码中:

// hack for ie browser (assuming that ie is a browser)
/* My lawyer told me not to reveal */

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

//Haleluya i can go home!