CSC/ECE 517 Fall 2010/ch3 S30 RJ: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 1: Line 1:
== '''Decomposition, Message Forwarding, and Delegation versus Inheritance in OOP Design''' ==
== '''Decomposition, Message Forwarding, and Delegation versus Inheritance in OOP Design''' ==


Most OOP overviews explain what the concept of Inheritance is in Object Oriented Programming, and how Inheritance works, but not many OOP overviews discuss alternatives when Inheritance may not be the best design choice for an OO application. This topic explains the OOP concepts of Decomposition, Message Forwarding, and Delegation, and discusses when these concepts could be considered as potential alternatives to the use of Inheritance for some OOP applications.
Most OOP overviews explain what the concept of Inheritance is in Object Oriented Programming, and how Inheritance works, but not many OOP overviews discuss alternatives when Inheritance may not be the best design choice for an OO application. This topic briefly explains the OOP concepts of Decomposition, Message Forwarding, and Delegation, and then discusses when these concepts could be considered as potential alternatives to the use of Inheritance for some OOP applications.


== '''Decomposition in OOP Design''' ==
== '''Decomposition in OOP Design''' ==

Revision as of 02:09, 5 October 2010

Decomposition, Message Forwarding, and Delegation versus Inheritance in OOP Design

Most OOP overviews explain what the concept of Inheritance is in Object Oriented Programming, and how Inheritance works, but not many OOP overviews discuss alternatives when Inheritance may not be the best design choice for an OO application. This topic briefly explains the OOP concepts of Decomposition, Message Forwarding, and Delegation, and then discusses when these concepts could be considered as potential alternatives to the use of Inheritance for some OOP applications.

Decomposition in OOP Design

Message Forwarding versus Inheritance in OOP Design

Delegation versus Inheritance in OOP Design

This is a test URL link BobJ PCTOGO

This is a reference to the PC-To-Go web site <ref>PC To GO</ref>

This is an internal link referenceand a citation [1]


References:

References: <references/>