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


当前回答

//我穿上长袍,戴上巫师帽……

其他回答

//ALL YOUR BASE ARE BELONG TO US

...这让我的老板以为有人黑进了系统。他不知道这个笑话。

Exception up = new Exception("Something is really wrong.");
throw up;  //ha ha

有一次我发现:

// I wish (boss name) could do this by him self.
try {

} finally { // should never happen 

}

在大学的一次家庭作业中,一位老师特别坚决地要求我们注释代码:

//I wonder if she actually reads these.

当作业被返回时,在注释“是的,我愿意”旁边用红笔写着