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


当前回答

/*
* After 36 hours, 2 holes in my wall and writing my code right beside the API
* this still doesn't work.
* function getMap():void takes in an event object @param: evt:mouseEvent
* I will now retire for the day with a bottle of rum and 2 hours of crying
*/

其他回答

var something TBoolean; //Pickins

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

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

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

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

// TODO: Implement this function!
long long ago; /* in a galaxy far far away */