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.
When to prefer inheritance to composition
from Hillel Wayne ✉️
Filed under:
Same Source
Related Notes
- Dependencies (coupling) is an important concern to address, but it&...from kbouck
- By replacing integration tests with unit tests, we're losing al...from Computer Things
- I propose that there is one problem chief among them, an impetus fo...from George Hosu
- When software -- or idea-ware for that matter -- fails to be access...from gist.github.com
- Any software is considered free software so long as it upholds the ...from writefreesoftware.org
- Nathan's four Laws of Software: 1. **Software is a gas** ...from Jeff Atwood
- > Any sufficiently complicated [C](https://en.wikipedia.org/wiki...from From Wikipedia, the free
- Ad-hoc validation leads to a phenomenon that the [language-theoreti...from Alexis King