A novel 1 year ago, I just see it now. . . Decadence is not a chapter 1, an example. Jumping chapter 2. The advantages of reconstruction: I have said a bunch, I personally feel that it is most important to improve efficiency. If it is contrary to this, it will not be resolute. Refactoring the timing: "Reconstructing the third time to increase the similar function" (instructions can be reused) "Reconstructing the error when making an error" (let the wrong mistake) "Code review", it is often more difficult to me Because I am too lazy. . . I changed the code to the code: Into the function module from the existing system, and reimburse the other: "Advanced a small number of designs, and then refactively improve the design in the development process" This is really a famous saying what! There is also a "open interesting meeting, but there is no dryness". This example is very good. Don't want to be of course, do the investigation and then speak. . . Chapter 3: What is a bad code I think more common and useful: duplicated code (Earth people know) Long Function (Earth people know) Divergent Change and Shortgun Surgery (a modification, modify) Parallel Inheritance Hierarchies / Feature Envy (Individual experience, two students often appear together, becoming together, the consequences of two types of systems, I personally do two kinds of interoperable systems, directly leading to Parallel Inheritance Hieranchies Speculative Generality (Over Designed typical) Personal Summary: When doing something, you have to change more than 2 places, you can consider the reconstruction. Chapter 4: Automatic unit test, introduced JUnit. Chapter 5: Overview of the following chapters, slightly. Chapter 6: Various methods of reconstructing functions. Three comparison use Extract method: Fully turn large to small functions Replace Temp by query: turn the temporary variable into a function, making the extract method smoothly! (This is true) Replace Mothed with Method Object (I don't know how the effect, it seems good, I did not think of this method) Other can have no, you can clear it yourself.