"Refactoring" - Improving The Design of EXISTING CODEMARTIN FOWLER
The Olympic spirit is "higher, faster, stronger". Reconstruction, the goal is also "higher, faster, stronger", not for the first, but also to surpass yourself.
This book refactoring mainly introduces the reconstruction of object-oriented programming, object-oriented design principles, models, methods, and important guiding ideas. Reconstruction process time: Any Times. Location: Bad Smell In Code. Prerequisites: Build Tests (JUnit). Objective: To rationalize the relationship (the relationship between classes, the relationship between the class). Slogan: Unity is power. METHODS: Small steps and feedback.
Classification of Reconstruction: One. Objects 1.Moveing Features Between Objects2.dealing with Generalization
IBJECT's internal 1. Data (Composing Methods, Making Method Calls Simpler)
III. Internal SIMMPLIFYING CONDitional Expressions
Four. Other Big Refactorings, Reuse, Refactoring Tools
Put the method and data of the class into a more appropriate place, more harmonious, simpler, more natural, which is reconstructed.