标签:
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
标签:
原文地址:http://www.cnblogs.com/yuanjiangw/p/5922413.html