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


当前回答

大概30页的xslt的中间部分

<!-- Here be dragons  -->

其他回答

catch (Ex as Exception)
{
     // oh crap, we should do something.
}

没有什么比一个空的catch块更能让人觉得代码是健壮的....

// Any maintenance developer who can't quote entire Monty Python
// movies from memory has no business being a developer. 
const string LancelotsFavoriteColor = "$0204FB"
%%return_median
hit_the_sweet_spot(Arg)->
.
.

//把这个放在这里的人是个白痴…这根本不管用!

但是代码还在那里……

Case 1:
   ...
   break;
   ...
//I don't want do do this but [my coworker] says it's part of the code standard
default:
   break;