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


当前回答

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

//Write Code Here

我仍然畏缩:)

其他回答

我最喜欢的评论是我的一个同性恋朋友说的。他喜欢用VB标记他所有的TODO注释。净,

'TODO: Matt Damon

有时会提供额外的信息,但通常不是这样。

// (c) 2000 Applied Magic, Inc.
// Unauthorized use punishable by torture, mutilation, and vivisection.

啊,我一直很喜欢这个……

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

'CANNOT JUST QUIT!
//  If you delete the credits, I will fucking kill you.

在joomla模块中找到。

/**
 * If you don't understand this code, you should be flipping burgers instead.
 */