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


当前回答

//When I wrote this, only God and I understood what I was doing
//Now, God only knows

其他回答

一段时间前我在一个PHP CMS中添加的注释。

if (/*you*/ $_GET['action']) { //celebrate

在开发团队中每个人都在大量编辑的代码文件头部:

'Avert your eyes, it may take on other forms!

好弗兰德斯。

// The freshest corpse at the back please.
m_DeadCharacters.push_back( std::make_pair(character, 0.0f) );
// Get rid of the rotting surplus
while( m_DeadCharacters.size() > 3 )
    m_DeadCharacters.pop_front();
long john; // silver
' Oh man I'm pissed. I think I better go home.

哪里喝醉了