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


当前回答

catch
{     
    // you’re fucked
    // write out the file somewhere and start screaming “Connection down! Connection down!”
}

其他回答

来自usenet的经典:

Teradyne硬件建模器代码的深层是一个例程 一大堆十六进制数字到SYS$QIO调用中。唯一的评论是 “这里发生了奇怪的魔法”。

//The following code is commented out
//(a load of commented out code followed)
// no comments for you
// it was hard to write
// so it should be hard to read
// Fuck.

,……

// This code worked before, but my cat decided to take a trip across my keyboard...
//Dear future me. Please forgive me. 
//I can't even begin to express how sorry I am.  

我今天刚发现了这个:

//private instance variable for storing age
public static int age;