Refactoring might be thought of as incremental, as opposed to monumental, redesign. "Without refactoring, the design of the program will decay," Fowler writes. "Loss of structure has a cumulative effect.
基于1个网页-相关网页
While this is hardly an easy task with code base that has grown out of control, without refactoring the only solution you can look up to is the complete rewrite.
这对于那些业已脱离控制的代码库而言并非易事,如果不诉诸于重构,那么唯一的解决之道就是彻底地重写。
Refactoring is the technique of improving code without changing functionality.
重构是一种改进代码但不改变功能的技术。
If you follow the mechanics closely like a cookbook recipe, you should be able to learn the refactoring without much trouble.
如果您象按照食谱那样严格遵循这些技术,那么您在学习重构时应该没有太大的麻烦。
应用推荐