摘要: 这几天在看《重构:改善既有代码的设计》英文评注版这本书,以前简单看过这本书,但并不是看的特别深入。经过了一段时间的“磨练”,现在回来重新看这本书,又很多想法。   首先,这本书是一本好书,我感觉是软件工程师必看的一本书,而且如果有大量的编码经验看这本书会收获很大。这本书主要内容是代码重构。   在书中第3章中有这样一段话是用来描述代码注释的:   A good time to use a comment is when you don't know what to do. In addition to describe what is going on,comments can indicate areas in which you aren't sure. A comments is a good place to say why you did something. 阅读全文
posted @ 2014-05-08 10:44 Finlay Liu 阅读(579) 评论(0) 推荐(0) 编辑