Two months ago, Lao Zhao and Zhang Yi recommended 31 days of refactoring in infoq and his blog respectively. This series of articles introduces 31 refactoring entries through 31 examples. Most of the Refactoring can be found in refactoring.com, some of which come from code Daquan (version 2nd), while others are frequently used or collected by authors from other Internet resources.
Simmone chiaretta later organized it into an e-book. During reading, I found that this was an interesting series and decided to translate it into Chinese. Due to laziness, I dragged on the translation for more than a month before it was finally completed. Please forgive me for any improper wording.
During the translation, I did not translate the name of the reconstruction entry. If you want to get a Chinese name, refer to Lao Zhao's article.
If you are familiar with refactoring, you can even ignore my translation and read it directly.CodeThis will save you a lot of time, and I can take a few bricks.
Ebook: 31-day Reconstruction
Code: http://github.com/schambers/days-of-refactoring