Oo Replacing Conditionals With Polymorphism

Use when the same switch or if-chain on a type or status repeats across methods, or when choosing subclasses or pattern matching for cases.

yutna Updated

File contents

yutna/object-oriented-design-skills commit 6db642a0d5

Frequently asked questions

npx get-skill add yutna/oo-replacing-conditionals-with-polymorphism