The SOLID principles are the five principles of object-oriented design introduced or documented by Robert C. Martin.

- Wiki
6 articles, 2 books. Go to books ↓

The goal behind ISP is that no client consuming an interface should be forced to depend on methods it does not use.

Bertrand Meyer coined the term Open/Closed Principle which appeared in his book titled Object Oriented Software Construction in 1988. The principle reads “software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification“.

In this article we'll look at how the Single Responsibility Principle is subjective, but also how the principle is still helpful in the code.

Officially the open/close principle states that: Software entities should be open for extension, but closed for modification. The idea here is that code that is tried and tested, shouldn't have to change because you want to add some functionality to it.

If you’re building a service of your own, you’ll often want to be able to use it on multiple platforms at once. Following time-tested OOD (object oriented design) principles makes your code more resilient and more easily extended.

Free books