Refactor the program before adding the feature
Author
Zhou Renjian
Create@
2004-12-09 16:10
When you find you have to add a feature to a program, and the program's code is not structured in a convenient way to add the feature, first refactor the program to make it easy to add the feature, and then add the feature.
Refactoring --- Improving the Design of Existing Code