(转载)代码注释的13条建议
摘要:
转自:http://www.cnblogs.com/nicholasun/archive/2008/04/26/1171557.html13 Tips to Comment Your Code1.Comment each level对每一级用统一的方法注释每个代码块,例如:n 为每个类,包含简短的描述,作者和最后修改日期n 为每个方法,包含其目的,功能,参数,返回值团队编程时,采用标准的注释是很重... 阅读全文
posted @ 2010-03-08 20:29 yf.x 阅读(366) 评论(0) 推荐(1) 编辑