程序注释愈发重要
<br />一个好的程序员写出来的程序应该是1/3的代码,2/3的注释。<br /> <br />下面贴一个标准的程序注释示范:<br /> <br />功能,参数说明一定要有 <br />/**<br />
* Moves the object from the old position to the new position. <br />
* @param list<br />
* @param targetIndex the position of the object
原创
2010-08-16 10:03:00 ·
226 阅读 ·
0 评论