Apply Composition Over Inheritance

Use when designing relationships between classes or modules — especially when tempted to extend a class to reuse its behavior, or when an inheritance hierarchy is becoming deep or brittle.

jeffreytse Updated
grimoire

File contents

jeffreytse/grimoire-core commit c791cc6593

Frequently asked questions

npx get-skill add jeffreytse/apply-composition-over-inheritance