Specialize Behavior With Inheritance

a class its source has become complicated due to an ad hoc implementation of a secondary responsibility
isolate the secondary responsibility from the original class and have it implemented by subclassing

Context:

Specialize Behavior With Inheritance separates the secondary responsibility from the superclass but keeps the superclass responsible for interfacing to its client classes. Replace Concrete Interfacing Class With Explicit Interface continues this refactoring.

See also :Push Down Feature

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

[ Overview Page ] [ Thumbnail Catalog ]