S.O.L.I.D

Adam Shaffer
4 min readJan 25, 2022

Principles in Object-Oriented Programming

In the object-oriented programming world, the famous acronym SOLID covers the five principles of OO. The letters signify the following:

  • S: Single Responsibility Principle
  • O: Open-Closed Principle
  • L: Liskov Substitution Principle
  • I: Interface Segregation Principle
  • D: Dependency Inversion Principle

These five principles govern the structure of object-oriented programming. Following these principles can make your code…

--

--

Adam Shaffer

A full-stack software developer who likes writing about tech.