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
-
Permalink (
2023.NTE.449) - On
- In Notes
- Tagged software, safety
- From When to Prefer Inheritance to Composition
- Edit
| ← Previous | Next → |
| Chicago 🏃 | Note on When to Prefer Inheritance to Composition via Hillel Wayne |