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


当前回答

long john; // silver

其他回答

try
{
...
}
catch(Exception ex)
{
//if this happens the world is going to end...
}

现在猜猜发生了什么……

简单但有效的注释,在一些不太安全的c++代码之前

// yikes
//  Hey, your shoe's untied!

后面跟着一些可疑的代码,在这些代码中,

//  Keep looking!  I think it was the other shoe!

最后,

//  How strange -- I must be seeing things.  Anyhow, I'm going to go take a shower, now...

我发现了这个:

I'm not sure what I did
using namespace std;            // So sue me