Duplicate Observed Data
From CSSEMediaWiki
(Difference between revisions)
m (Reverted edits by Ebybymic (Talk); changed back to last version by Brett Ward) |
|||
Line 3: | Line 3: | ||
The interface will need to become an observer, whilst the data is an observed class. | The interface will need to become an observer, whilst the data is an observed class. | ||
− | + | == See Also == | |
{{Refactoring}} | {{Refactoring}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 03:23, 25 November 2010
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