Category Archives: Project: Learn SOLID and OOP principles

SOLID exercises

By | February 14, 2020

SOLID SOLID principles are basic rules of object-oriented programming. You should not only know them but also practice and use them at work. At first, I remind you of SOLID principles, and then I show you some exercises. Single responsibility principle Every class should have only one responsibility (every class should have only one reason… Read More »

SOLID

By | February 12, 2020

SOLID SOLID is a basic concept in object-oriented programming. It was introduced by Robert C. Martin, who gathered together five rules in one concept: SOLID. It is an acronym of 5 principles for good object-oriented programming: Single responsibility principle Open/closed principle Liskov substitution principle Interface segregation principle Dependency inversion principle Single responsibility principle Every class… Read More »