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


当前回答

有一次我发现:

// I wish (boss name) could do this by him self.

其他回答

// Empty constructor to satisfy the stupid compiler
 Public ServletHandlerClass () { } 
//this is a crap way to do this but I ran out of patience

DelButton.click(); 
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;
}
// this comment included for the benefit of anyone grepping for swearwords: shit.

这是我今天重构一些代码时发现的一条评论

if( year < 100 ): year += 2000 #lol, Y2K