你遇到过的源代码中最好的注释是什么?
当前回答
// no comments for you
// it was hard to write
// so it should be hard to read
其他回答
// TODO: Delete
.class {border:1px solid gold;} /*我可怜这个傻瓜*/
在给一个朋友看了这篇来自《Coding Horror》的文章几个小时后,我看到了他对代码的评论:
// valdez先生是一个暴力的精神病患者。别惹他生气。
这是我最喜欢的评论。
/// I intend to do this as shittily as possible because there are many better products that will totally blow this out of the water
/// and we don't have them so whatever
在后面的文件中,我们有更多的乐趣
/// sidestep a bug in WCF (that we can't send types across)
/// or, depending on how you look at, this issue is a Feature
稍后再讲
if( where == null)//be nice
// Magic. Do not touch.