This series of posts is about the SOLID principles which describe some of the most important principles when programming in an object oriented language.
SOLID is an acronym for 5 of the most important important principles in object oriented programming (OOP). Companies commonly ask about this in interviews and it seems like everyone heard of it, most know how to explain at least one principle but not that many know how to properly explain all of it.
Cutting down to the chase, let's find out in detail what each of this principles mean, why you should care and how to use them.
- Single responsibility
- Liskov substitution
- Interface segregation
- Dependency inversion of control