Liskov Substitution Principle (LSP) Author, August 12, 2024August 19, 2024 Subtypes must be substitutable for their base types. Example: Consider a scenario with a base… Continue Reading
Open/Closed Principle (OCP) Author, August 12, 2024August 19, 2024 Software entities should be open for extension but closed for modification. Example: Let’s say you… Continue Reading