Move Field

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
Paul Williams (Talk | contribs)
(New page: A field is, or will be used by another class more than the class in which it is defined. image:movefield.gif <br> Moving state and behavior between classes is the very essence of refa...)
Newer edit →

Revision as of 23:43, 12 August 2009

A field is, or will be used by another class more than the class in which it is defined.

Movefield.gif
Moving state and behavior between classes is the very essence of refactoring. As the system develops, you find the need for new classes and the need to shuffle responsibilities around. A design decision that is reasonable and correct one week can become incorrect in another. That is not a problem; the only problem is not to do something about it.

Additional Resources

SourceMaking.com

Personal tools