Extract class

{{Multiple issues|

{{More citations needed|date=April 2008}}

{{confusing|date=April 2008}}

}}

In software engineering, the Extract Class refactoring is applied when a class becomes overweight with too many methods and its purpose becomes unclear. Extract Class refactoring involves creating a new class and moving methods and/or data to the new class.

Further reading

  • {{cite book

| first = Martin

| last = Fowler

| authorlink = Martin Fowler (software engineer)

| year = 1999

| title = Refactoring. Improving the Design of Existing Code

| publisher = Addison-Wesley

| isbn = 0-201-48567-2

| url-access = registration

| url = https://archive.org/details/isbn_9780201485677

}}

  • http://www.refactoring.com/catalog/extractClass.html

{{DEFAULTSORT:Extract Class}}

Category:Code refactoring