Note on When to Prefer Inheritance to Composition via Hillel Wayne
Elisa Baniassad and Alexander Summers have this great paper Reframing the Liskov Substitution Principle through the Lens of Testing , where they teach LSP as “the superclasses test suite should automatically be runnable, and pass, on the child class.” Go read it, it’s great.
Reference
- Notes
- software, safety
- When to Prefer Inheritance to Composition
-
Permalink to
2023.NTE.449 - Insight
- Edit
| ← Previous | Next → |
| Chicago 🏃 | Note on When to Prefer Inheritance to Composition via Hillel Wayne |