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


当前回答

我在一个充满显式怪异类型转换的函数中见过这段代码:

// Since today's CPUs are really fast, this is dedicated to those who said:
// " You can't use Moore's Law as an excuse to write bad software. "

代码太可怕了:)

其他回答

在XSLT文件的头文件中:

DON'T TOUCH THIS SCRIPT -> XSLT is like arcane, black magic
// THE LOOP THAT DO EVERYTHING!!!!!!!
//Not a bug, parameter position can change..., if you think this is wrong, you are in fact wrong.

从谷歌代码项目:

# This job would be great if it wasn't for the fucking customers.
Repeat
    ...
Until (JesusChristsReturn) ' Not sure