SOLID is an acronym for five principles of object-oriented design introduced or documented by Robert C. Martin. Use this tag on questions regarding any of the individual principles, or their relationships to other OOD concepts. Also use the five individual tags, when applicable.
The SOLID principles are language-agnostic principles of object-oriented design. (Not to be confused with solid tools and conventions for decentralized social applications proposed by Tim Berners-Lee and MIT.) In a series of articles in 1996, Robert C. Martin documented the existing Open-Closed and Liskov Substitution principles, and introduced the other three. Michael Feathers invented the acronym afterwards.
The acronym stands for:
- S: Single responsibility (srp)
- O: Open-closed (ocp)
- L: Liskov substitution (lsp)
- I: Interface segregation (isp-principle)
- D: Dependency inversion (dip-principle)
References:
- Wikipedia
- Principles of OOD
- SRP on Clean Code Blog
- OCP on Clean Code Blog