In Software Development, what does SOLID refer to? SOLID is a set of principles for object oriented programming (OOP) and design. The five principles referred to are:
- Single responsibility principle (SRP)
- Open/closed principle (OCP)
- Liskov substitution principle (LSP)
- Interface segregation principle (ISP)
- Dependency inversion principle (DIP)
To get a deeper understanding to what this means we have to go in to each principle, preferably by using examples. Since there are a lot of good comprehensive descriptions available online I won't write my own. Instead, I have collected links to good descriptions that are worth reading.
SRP explained by Elizabeth Engelman
OCP explained by Joel Abrahamsson
LSP explained by Claudio Lassala
ISP explained by Ricardo Sánchez
DIP explained by Brett L. Schuchert
SRP explained by Elizabeth Engelman
OCP explained by Joel Abrahamsson
LSP explained by Claudio Lassala
ISP explained by Ricardo Sánchez
DIP explained by Brett L. Schuchert
Kommentarer
Skicka en kommentar