Interface Oriented Design

USING INTERFACES
Advantage—delay forming hierarchy until usage known
USING INHERITANCE
Advantage—less delegation of common operations

USING INTERFACES
Advantage—can cross hierarchies
USING INHERITANCE
Advantage—captures common attributes

USING INTERFACES
Advantage—can capture common set of usage
USING INHERITANCE
Advantage—captures set of common behavior

USING INTERFACES
Advantage—give more adaptability for roles that cross hierarchies
Disadvantage—may have duplicated code without helper classes to provide
common functionality

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s