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


当前回答

$dnstime = time() + 60 * 60 * 24 * 7 * 2; //how long are you staying for vacation on mars? twooo weeeeeks. give dees people air

其他回答

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

//I wonder if she actually reads these.

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

// Okay, let's do the loop, yeah come on baby let's do the loop
// and it goes like this ...
using namespace std;            // So sue me

我不止一次使用过这个方法,当我对一个数学公式做了一些不明显的简化时,我不想记录:

//this formula is right, work out the math yourself if you don't believe me
' Oh man I'm pissed. I think I better go home.

哪里喝醉了