Jump to content

Extract class

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Magioladitis (talk | contribs) at 10:33, 15 September 2010 (Removing obsolote parameter from template + WP:CHECKWIKI error fixes + genfixes, replaced: Articleissues → Multiple issues using AWB (7129)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

Further reading

  • Fowler, Martin (1999). Refactoring. Improving the Design of Existing Code. Addison-Wesley. ISBN 0-201-48567-2.
  • http://www.refactoring.com/catalog/extractClass.html