Trade Variation For Duplication

a class hosts multiple variations of a similar responsibility
duplicate the class in order to separate the varying responsibilities

Context:

Trade Variation For Duplication is a natural thing to do when preparing to factor out duplication.

See also : Trade Duplication For Variation


Refactoring Thumbnails, Copyright © 2004 - 2005, Sven Gorts, All Rights Reserved.

[ Overview Page ] [ Thumbnail Catalog ]