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


当前回答

// I know the line below is wrong, but it came that way from our IP vendor, and 
// the driver won't work if you "fix" it. I've had to revert this change 4 times
// now. Leave it alone, or I will hunt you down and hurt you
if (r = 0) {
    /* bunch of code here */
}
else
{
   /* even more code here */
}

其他回答

// I love the smell of dirty XML in the morning
xml = xml.Replace("xmlns=\"urn:bsd.orion/inventory\"", "");
TextBox1.Text = TextBox1.Text; //Point less yes, who writes this crap?
// Caveat implementor
/* This is O(scary), but seems quick enough in practice. */ 

后面是四个嵌套的for循环

stop(); // Hammertime!