What is the name of the design pattern (defined by Kent Beck I think) where a big method in one class is refactored 开发者_StackOverflow社区in a new separate class.
I believe the pattern is called Extract class.
The result of that Refactoring would be an example of the Command pattern.
精彩评论