C++ Software Design: Design Patterns – 6. Liskov Substitution Principle
Original Book Cover: Guideline 6: Adhere to the Expected Behavior of Abstractions (Guideline 6: Follow the Expected Behavior of Abstractions) Reading Notes: 1. Explanation • Good abstract design should not establish inheritance relationships solely based on “what it is” but should judge based on “whether the behavior is consistent”. Subclasses must be able to seamlessly … Read more