TopicTracker
From buttondown.com/hillelwayneView original
TranslationTranslation

The Liskov Substitution Principle does more than you think

The Liskov Substitution Principle extends beyond inheritance to any code substitution scenario. It requires that substituted code has weaker preconditions and stronger postconditions than the original to maintain correctness. This principle applies broadly to API changes and code modifications, not just object-oriented subtyping.