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 SRP (Single responsibility principle): A class should take care of only one responsibility.
- O stands for OCP (Open closed principle): Extension should be preferred over modification.
- L stands for LSP (Liskov substitution principle): A parent class object should be able to refer child objects seamlessly during runtime polymorphism.
- I stands for ISP (Interface segregation principle): Client should not be forced to use an interface if it does not need it.
- D stands for DIP (Dependency inversion principle): High level modules should not depend on low level modules but should depend on abstraction.
Other Software Development Pages
Join the Principles Newsletter and get new posts in your inbox every Monday.