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


当前回答

public function get state( /* of Palestine back */ ):Boolean

其他回答

map(TimeZoneId.Romance, "Romance Standard Time"); //LULZ.

一段时间前我在一个PHP CMS中添加的注释。

if (/*you*/ $_GET['action']) { //celebrate
if(m_measures =/*=*/ --index)
{
    ....

我看到有人对代码的评论:

// This comment is self explanatory.

我猜他是想说“可变的”,但这个错误造成了一个有趣的评论……想想这里的循环逻辑,以及写它的徒劳。

来自一个显然在看巨蟒剧团的小伙子:

> //现在,for something完全 > // different: 类theLarch {