Extract class
Appearance
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
No issues specified. Please specify issues, or remove this template. |
![]() | This article needs more links to other articles to help integrate it into the encyclopedia. (April 2008) |
In [software engineering], the Extract class refactoring is applied when a class becomes overweight with too many methods and it's 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