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


当前回答

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

'CANNOT JUST QUIT!

其他回答

// Fuck.

,……

// This code worked before, but my cat decided to take a trip across my keyboard...
// The hackiest hack that ever did hack

它在WordPress博客引擎(wp-admin/includes/user.php -如果有人真的想看黑客攻击本身)。

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

'TODO: Matt Damon

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

def leppard
# what, i cant have my own convention?
end
catch (Exception ex)
{ 
    // just die already.
}