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


当前回答

看这个:

'On Error Goto Hell.

其他回答

看这个:

'On Error Goto Hell.
/*
 * You may think you know what the following code does.
 * But you dont. Trust me.
 * Fiddle with it, and youll spend many a sleepless
 * night cursing the moment you thought youd be clever
 * enough to "optimize" the code below.
 * Now close this file and go play with something else.
 */ 
//There can Only Be one HIGHLAN....err..Singleton
public class SomeSingleton
{
...
}
if(count<0) count=0;    //don't get me wrong but this has to be done :p

有一些旧的javascript代码,写得很好。然后是一条评论线

// and there is where the dragon lives

接下来是一个功能,4个人花了一天时间来理解它在做什么。最后我们意识到它根本没用,什么都没有。