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


当前回答

// 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();

其他回答

//todo: never to be implemented

从谷歌代码项目:

# This job would be great if it wasn't for the fucking customers.

大概30页的xslt的中间部分

<!-- Here be dragons  -->

我刚刚注意到自己在写这个

// not brilliant solution, but fair enough heh.

当被问及什么是“最好的评论”时,我们的回答都是我们能找到的最糟糕的评论,这充分说明了我们的职业……