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


当前回答

If you have reached this part in the code, then this program sucks.

其他回答

// Fuck.

,……

// This code worked before, but my cat decided to take a trip across my keyboard...

我记不清了,大概是这样的:

Person p = new Person("John", "Doe", "male");
Collection women = new ArrayList();
women.insert(p.getTail());

这是肮脏的代码;)

// StupidCompilerDontInline(SCDI), in the test project where
// allcode was in a single cpp the compiler had inlined nearly
// everything which lead to nice stackoverflow.
// To prevent this the metods are made virtual
#define SCDI virtual
// drunk, fix later

真希望我是在开玩笑。根据编写代码的开发人员的了解,我认为他是认真的。

在js代码中:

// hack for ie browser (assuming that ie is a browser)