我最喜欢的一本书 - 教我如何写可读的代码
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年非常感动, 打印出每一章, 按照建议, 把工作的网站代码重新写了一次. 第一次体会, 自己还是一个初级程序员, 要多看几本书. 这本书让我一步一步地提高自己的代码水平, 在现有的编程能力范围内, 我把自己管理的代码用二个多月的时间, 重新写; 当初我花了超过一年时间, 前后二年开发的程序. 建议大家刷Leetcode的空隙, 读一读.