SOLID is a mnemonic acronym that stands for the five design principles of Object-Oriented class design. These principles are meant to make object-oriented designs more understandable, flexible, and maintainable. In very plain terms, you want the objects of your subclasses to behave the same way as your superclass. A very common example is the rectangle, square scenario.
Table of contents
What is the Single-Responsibility Principle (SRP)?What is the Open-Closed Principle?What is the Liskov Substitution Principle?What is the Interface Segregation Principle?What is the Dependency Inversion Principle?Ta-Da 😇Sort: