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


当前回答

// This is a walkaround for bug #7812

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

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

其他回答

private int mousycounter = 0; //Not really a counter
//ALL YOUR BASE ARE BELONG TO US

...这让我的老板以为有人黑进了系统。他不知道这个笑话。

不是一个评论,而是一个goto标签

ICantBelieveImUsingAGoto:
// Any maintenance developer who can't quote entire Monty Python
// movies from memory has no business being a developer. 
const string LancelotsFavoriteColor = "$0204FB"
try {

} finally { // should never happen 

}