brainfck.org
Topics Books Journal Tags Search

OOP/Composition

  • An alternative to OOP/Inheritance is to delegate behavior, also called composition. Instead of an is a, this is a has a relationship. It refers to combining simple types to make more complex ones.

🔗 Links to this note (1)

OOP
-   Why you should use [OOP/Composition](/t/oop/composition/) instead of inheritance

Visit Page →

prev post next post



Powered by Hugo, based on the Er theme.
Quick Capture
Bookmarks
Scroll to Top

Quick Capture

What would you like to capture?

No captures yet