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


当前回答

在一个生成HTML的旧perl脚本中找到:

# I would be _very_ brain farting if I said this code didn't need reviewing.
# It will make babies cry, and hair grow on your back, so please don't use it

其他回答

// The following strings are meant to be funny.  Do not edit these strings
// unless you are funny, too.  If you don't know if you're funny, you're
// not funny.  If fewer than 2 people unrelated to you have told you that 
// you're funny, you're not funny.

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

'CANNOT JUST QUIT!
// Okay, let's do the loop, yeah come on baby let's do the loop
// and it goes like this ...
// TODO: Implement this function!
Catch (Exception e) {
 //who cares?
}