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

我最喜欢的一本书 - 教我如何写可读的代码

时间:2015-06-18 09:20:41      阅读:127      评论:0      收藏:0      [点我收藏+]

标签:


Two month fan of the book, from August - Oct. 2014; and then, started to practice code review, change the code to make it readable. Big fan of DRY (Do not repeat yourself) principle, do one thing a time, break giant expression, using explaining variable or summary variable, and abstract the thing to a function, extract a subproblem to a function. Training with great mind, like tennis sport, is a good practice. The book is coach‘s book with guidelines. Follow closely, in this 2014. 
http://www.amazon.com/The-Readable-Code-Theory-Practice/dp/0596802293

看了这本书, 2014年非常感动, 打印出每一章, 按照建议, 把工作的网站代码重新写了一次. 第一次体会, 自己还是一个初级程序员, 要多看几本书. 

我最喜欢的一本书 - 教我如何写可读的代码

标签:

原文地址:http://www.cnblogs.com/juliachenOnSoftware/p/4584870.html

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