Pull Up Field
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) (Page Outline Added) |
m (Reverted edits by Ebybymic (Talk); changed back to last version by Brett Ward) |
(One intermediate revision by one user not shown) |
Latest revision as of 03:23, 25 November 2010
Subclasses created through refactoring or developed independently may end up with some duplicate features, such as fields that are the same. If the fields are used in the same way, it may be moved to the superclass, removing the duplicate code in the subclasses to one single instance in the superclass.
See Also