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


当前回答

一个奇怪而恰当的有趣错别字:

断言(0);//永远不要在这一点上犯错

其他回答

switch(value)
{
   [...]
default:
   ASSERT(**true**); // if this is triggered, something really bad is happening.
}

我想我有过这样的经历:


if (case1) { // trivial
...
}
else { // we are screwed
 /* fill in later */
}

好吧,我可能用了一个比搞砸更强烈的词

using namespace std;            // So sue me
/*************************** Drag And Drop Section - Start (you should be me to mess with this section)*********************************************/
[vrk:Cloud ID="cTags" runat="server" DataTextField="Tag" DataWeightField="Total"
    Width="100%" DataHrefField="Tag" DataHrefFormatString="~/tags.aspx?tag={0}"]
[/vrk:Cloud]

[!--if anybody would like to change the control's color contact with FLORJON--]