首页 > 代码库 > Decomposing and Redistributing the Statement Method

Decomposing and Redistributing the Statement Method

Refactoring: Improving the Design of Existing Code

 

Decomposing and Redistributing the Statement Method The obvious first target of my attention is the overly long statement method. When I look at a long method like that, I am looking to decompose the method into smaller pieces. Smaller pieces of code tend to make things more manageable. They are easier to work with and move around.

Decomposing and Redistributing the Statement Method