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


当前回答

public boolean isDirty() {
    //Why do you always go out and
    return dirty;
}

其他回答

// Oh crap, i think i'm gonna yack

随后不久又有:

// TODO: end this lunacy
// All this code is yours, except gedit()...attempt no modifications there.
// This is a walkaround for bug #7812

是我们的一个中国程序员写的,他的第一语言不是英语。

我真的很喜欢这个。我碰巧认为“walkaround”几乎比“workaround”更好。

//Please comment on your source code

当我读到这篇关于我负责维护的项目的文章时,我哭了。

//Write Code Here

我仍然畏缩:)