Dependency Inversion Principle (DIP) Author, August 12, 2024August 19, 2024 High-level modules should not depend on low-level modules. Both should depend on abstractions. Example: Consider… Continue Reading
Interface Segregation Principle (ISP) Author, August 12, 2024August 19, 2024 Clients should not be forced to depend on interfaces they do not use. Example: Imagine… Continue Reading
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