Duplicate Observed Data
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs)
(This page needs some substance added to it, as the procedure for performing this refactoring is somewhat large and not easily explained)
Newer edit →
(This page needs some substance added to it, as the procedure for performing this refactoring is somewhat large and not easily explained)
Newer edit →
Revision as of 21:17, 14 October 2009
Logic may get thrown in together with the code that handles the user interface, when really it should be split into the two seperate behaviours - the data and the interface. Most of this will be decomposing and moving methods, but the data will need to be duplicated.
The interface will need to become an observer, whilst the data is an observed class.
See Also