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


当前回答

/* This is O(scary), but seems quick enough in practice. */ 

后面是四个嵌套的for循环

其他回答

// Okay, let's do the loop, yeah come on baby let's do the loop
// and it goes like this ...
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 am not sure why this works but it fixes the problem. 

这是之前的一组代码,技术上确实解决了问题,它的意思是,但打破了其他3个东西....

//There can Only Be one HIGHLAN....err..Singleton
public class SomeSingleton
{
...
}