CSC/ECE 517 Summer 2008/wiki2 8 jb: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 5: | Line 5: | ||
===Inheritance=== | ===Inheritance=== | ||
[http://en.wikipedia.org/wiki/Inheritance_(computer_science) Inheritance] is | [http://en.wikipedia.org/wiki/Inheritance_(computer_science) Inheritance] is one of the fundamental concepts in [http://en.wikipedia.org/wiki/Object-oriented_programming object oriented programming] | ||
===Delegation=== | ===Delegation=== | ||
[http://en.wikipedia.org/wiki/Delegation_(programming) Delegation] is a | [http://en.wikipedia.org/wiki/Delegation_(programming) Delegation] is a | ||
==Inheritance vs. Delegation== | ==Inheritance vs. Delegation== |
Revision as of 18:28, 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 one of the fundamental concepts in object oriented programming
Delegation
Delegation is a