码迷,mamicode.com
首页 > 其他好文 > 详细

《代码整洁之道》阅读笔记

时间:2015-05-02 11:09:37      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:

1.注释篇

Any comment that forces you to look in another module for the meaning of that comment has failed to communicate

to you and is not worth the bits it consumes. 

任何迫使读者查看其他模块的注释,都没能与读者沟通好,不值所费。

If authors aren‘t paying attention when comments are written(or pasted), why should readers be expected to profit from them?

如果作者在写注释时都没花心思,怎么能指望读者从中获益呢?

《代码整洁之道》阅读笔记

标签:

原文地址:http://www.cnblogs.com/sophia-yun/p/4471614.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!