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


当前回答

Tweet tweet = (Tweet) tweets.get(i); // Poetic.

其他回答

//休斯顿,我们有麻烦了

public int hashCode() {
//sucks, but what're you gonna do

/*
int hash = 7;
for (int i = 0; i < array.length; i++)
    hash = hash * 31 * (null == array[i] ? 0 : array[i].hashCode());
return hash;
*/

return 0;
}
// If this comment is removed the program will blow up 

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

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

//When I wrote this, only God and I understood what I was doing
//Now, God only knows