你遇到过的源代码中最好的注释是什么?
当前回答
// Singleton object. Leave $me alone.
private static $me;
其他回答
我经常发现这个
// fix it!
// Fuck.
,……
// This code worked before, but my cat decided to take a trip across my keyboard...
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;
}
// (c) 2000 Applied Magic, Inc.
// Unauthorized use punishable by torture, mutilation, and vivisection.
啊,我一直很喜欢这个……
#ifdef TRACE
#undef TRACE /* All your trace are belong to us. */
#endif
#define TRACE ....