CSC/ECE 517 Summer 2008/wiki2 8 jb: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
This wiki will explore the age old debate on inheritance vs. delegation, showing the strengths and weakness of each approach, and where each approach is preferred.
This wiki will explore the age old debate on inheritance vs. delegation, showing the strengths and weakness of each approach, and where each approach is preferred.


Line 5: Line 4:


===Inheritance===
===Inheritance===
[http://en.wikipedia.org/wiki/Inheritance_(computer_science) Inheritance] is a
===Delegation===
[http://en.wikipedia.org/wiki/Delegation_(programming) Delegation] is a





Revision as of 18:25, 20 June 2008

This wiki will explore the age old debate on inheritance vs. delegation, showing the strengths and weakness of each approach, and where each approach is preferred.

Background

Inheritance

Inheritance is a


Delegation

Delegation is a


Inheritance vs. Delegation

Links