Oo Choosing Composition Over Inheritance

Use when a subclass only reuses code, when a base class change breaks its subclasses, or when choosing between extending a class and wrapping it.

yutna Updated

File contents

yutna/object-oriented-design-skills commit c43ac15ec4

Frequently asked questions

npx get-skill add yutna/oo-choosing-composition-over-inheritance