July 2018

Solid Design Patterns – Open Closed Principle Open Closed Principle In object-oriented programming, the Open Closed Principle states “software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification”; that is, such an entity can allow its behaviour to be extended without modifying its source code. Quick recap, SOLID stands for five…

Read More Solid Design Patterns – Open closed principle

Solid design patterns – Single responsibility principle Here we are going to discuss “Single responsibility principle”. Single responsibility principle: “A class should have one and only one reason to change, meaning that a class should only have one job.” Recently I was reading a book “Clean Code” by Robert C Martin. It is a really…

Read More Solid Design Patterns – Single responsibility principle