Time: December 25, 2015 15:32:02
1. What is refactoring? Refactoring is to adjust the program's code to improve the quality of the program, performance, make the program design mode and structure more reasonable, improve the software extensibility and maintainability.
2, why are all developed and then to refactor it? Why not start with a reasonable design?
A perfect vision of the future of the design and can accommodate all the expansion of the design is not exist, in the programming of the programmer can only from the overall situation to design a software, can not be watertight design, and many requirements are after the completion of the change to add, the changes in the function of the design will inevitably lead to adjustments, so " The habit of testing first, continuing refactoring is very important.
From for notes (Wiz)
Refactoring of code