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


当前回答

catch
{     
    // you’re fucked
    // write out the file somewhere and start screaming “Connection down! Connection down!”
}

其他回答

// no comments for you
// it was hard to write
// so it should be hard to read

这在我自己的代码中出现过几次。显然我摸了不止一次。

// TODO: Fix this.  Fix what?
def leppard
# what, i cant have my own convention?
end
// This is a walkaround for bug #7812

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

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

我刚刚在一些遗留代码中发现了这个..

'CANNOT JUST QUIT!