你遇到过的源代码中最好的注释是什么?
当前回答
/* Mark: If there's one thing you learn from this code, it is this...
Never, ever fly Air France. Their customer service is absolutely
the worst. I've never heard the words "That's not my problem" as
many times as I have from their staff -- It should, without doubt
be their corporate motto if it isn't already. Don't bother giving
them business because you're just a pain in their side and they
will be sure to let you know the first time you speak to them.
If you ever want to make me happy just tell me that you, too, will
never fly Air France again either (in spite of their excellent
cuisine).
Update by oej: The merger with KLM has transferred this
behaviour to KLM as well.
Don't bother giving them business either...
Only if you want to travel randomly without luggage, you
might pick either of them.
*/
其他回答
(A bunch of code that's really weird looking) //Kludge.
//这将为我们每个用户节省0.5秒,并取悦机器精神。
在很长的程序之前:)
在一些非常蹩脚的vb代码(我知道这都是蹩脚的,但),我发现这是一个空的if控制块中的注释,它说:
If bFound Then
'I love it when I write kick ass code like this
Else
.
.
What do you think you're doing, Dave?
// A Gorgon class - For the love of Zeus don't look directly at it!