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


当前回答

在LKM中:

/*
* Dear Richard Stallman,
*
* This one's for you.
*
* Sincerely,
* Me
*
*/
MODULE_LICENSE( "GPL" );

其他回答

// The following array may contain either TexturedObjects or ColoredObjects.
// I know, it sucks.
// 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
// TODO: Implement this function!

我曾经见过这个:

//this used to be a comment
// HACK ! COPY/PASTE this and look for another job