Extract class

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

  • Fowler, Martin (1999). Refactoring. Improving the Design of Existing Code. Addison-Wesley. ISBN 0-201-48567-2.
  • http://www.refactoring.com/catalog/extractClass.html
gollark: I mean, there are knives at hone, but I don't really consider any of them mine.
gollark: What do you mean *have*?
gollark: <:bees:724389994663247974> 🐝 <:bees:724389994663247974> 🐝 <:bees:724389994663247974> 🐝 <:bees:724389994663247974> 🐝 <:bees:724389994663247974> 🐝 <:bees:724389994663247974> 🐝 <:bees:724389994663247974> 🐝 <:bees:724389994663247974> 🐝 <:bees:724389994663247974> 🐝
gollark: <:bees:724389994663247974>
gollark: osmarks.tk potatoS minoteaur bees bees BEES
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.