开发者

Design pattern name : One Big method converted to a Class

开发者 https://www.devze.com 2023-03-04 20:19 出处:网络
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 Extr

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消