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


当前回答

我看到一些旧的fortran代码:

     integer *4 one,two,three;

c    asssign one to 100 before entering the loop
     one=100;

其他回答

 * ...and don't just declare it volatile and think you've solved
 * the problem. You young punks think you know what volatile
 * means... why in my day we had to cast it volatile uphill
 * both ways, and the code still didn't work! Whippersnappers...

生产源代码:

// Remove this if you wanna be fired

.class {border:1px solid gold;} /*我可怜这个傻瓜*/

不是注释,而是属性

[ThereBeDragons]

还有一个是我在IHttpHandler的实现中看到的

//What is this?
public bool IsReusable
{
    get{return false;}
}
catch
{     
    // you’re fucked
    // write out the file somewhere and start screaming “Connection down! Connection down!”
}