SOLIDOn September 3, 2018 in software development • 1 minute read
SOLID are five basic principles which help create good software architecture. SOLID is an acronym where:
- S stands for Single Responsibility Principle (SRP): A class should take care of only one responsibility;
- O stands for Open Closed Principle (OCP): Extension should be preferred over modification;
- L stands for Liskov Substitution Principle (LSP): A parent class object should be able to refer child objects seamlessly during runtime polymorphism;
- I stands for Interface Segregation Principle (ISP): Client should not be forced to use an interface if it does not need it;
- D stands for Dependency Inversion Principle (DIP): High level modules should not depend on low level modules but should depend on abstraction.
Other Software Development Pages
- June 22, 2019: Test Driven Development
- June 22, 2019: Object Oriented Programming
- June 22, 2019: Load Balancing
- June 22, 2019: Design Patterns
- September 03, 2018: CAP
- September 03, 2018: ACID
Join the Principles Newsletter and get new posts in your inbox every Monday.