重构你的Rails程序 – 读书笔记
好久没有用心读过一篇文章了,今天翻出了Railsconf 2008 Zach Dennis的Refactoring Your Rails Application,顺便记了个笔记。
首先,我了解了什么叫Code Smells异味代码
在电脑编程有一句俗话,异味的代码就是那些在源码中出现任何症状,也就是会给整个程序带来更深入问题的代码。(这些代码就是需要我们重构的)
(阅读完整文章…)好久没有用心读过一篇文章了,今天翻出了Railsconf 2008 Zach Dennis的Refactoring Your Rails Application,顺便记了个笔记。
在电脑编程有一句俗话,异味的代码就是那些在源码中出现任何症状,也就是会给整个程序带来更深入问题的代码。(这些代码就是需要我们重构的)
(阅读完整文章…)

Allen Chan's Blog by Allen Chan is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 China Mainland License.
Based on a work at allenchan.org.
Permissions beyond the scope of this license may be available at http://allenchan.org/about.
Allen Chan's Blog is proudly powered by WordPress and designed, produced by Allen Chan
Follow Me On: