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


当前回答

// if i ever see this again i'm going to start bringing guns to work

其他回答

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

//I wonder if she actually reads these.

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

这是我们在前雇主购买的智能卡产品中发现的唯一一条评论。一群荷兰密码学博士写的嵌入式C语言和汇编程序

// echt halmaal gek - no way!

(它的意思是“真的完全愚蠢”……这对我们也没有帮助)

来自Java 1.2的SwingUtilities:

doRun.run();  // ... "a doo run run".
// The following array may contain either TexturedObjects or ColoredObjects.
// I know, it sucks.
/*
* TODO: Remove this function

function remove($customer_id)
    {
        $this->Customer->remove($id);
    }

*/