SOLID Principles Enumeration

SOLID OOP Wednesday, May 21, 2014

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.

  1. Single responsibility
  2. Open/Close
  3. Liskov substitution
  4. Interface segregation
  5. Dependency inversion of control