20180628 周
Share
《Refactoring》- Format of the Refactoring
- Name
- 
The name is important to building a vocabulary of refactoring. 
- Summary
- 
A short summary of the situation in which you need the refactoring and a summary of what the refactoring does. 
- Motivation
- 
The motivation describe why the refactoring should be done and describes circumstances in which it shouldn’t be done. 
- Mechanics
- 
The mechanics are a concise, step-by-step description of how to carry out the refactoring. 
- Example
- 
The example show a very simple use of the refactoring to illustrate how it works. 

