Nikola Stjelja
Nikola Stjelja

Reputation: 3687

Design pattern name : One Big method converted to a Class

What is the name of the design pattern (defined by Kent Beck I think) where a big method in one class is refactored in a new separate class.

Upvotes: 1

Views: 129

Answers (2)

Mark Seemann
Mark Seemann

Reputation: 233162

The result of that Refactoring would be an example of the Command pattern.

Upvotes: 0

ralphtheninja
ralphtheninja

Reputation: 133038

I believe the pattern is called Extract class.

Upvotes: 4

Related Questions