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


当前回答

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;
}

其他回答

我发现了这个:

I'm not sure what I did
Catch (Exception e) {
 //who cares?
} 

//你不需要理解这个

经典。

我不再有确切的代码包,但我清楚地记得注释。

// The code below needs to be changed immediately.
// I wish I was a little bit taller
// I wish I was a baller
// I wish I had a girl who looked good, I would call her.
/* You are not meant to understand this */