Today, we will explore the Open/Closed Principle (OCP) from SOLID, which was introduced by Bertrand Meyer in 1988. The principle states:
A software artifact should be open for extension but closed for modification.
Today, we will explore the Open/Closed Principle (OCP) from SOLID, which was introduced by Bertrand Meyer in 1988. The principle states:
A software artifact should be open for extension but closed for modification.
According to Robert C. Martin (Uncle Bob), the Single Responsibility Principle (SRP) is:
A module must be responsible to one, and only one, actor.
In this article, we will understand what this statement means studying the first principle from SOLID.
Day after day, I have been improving my code, and I have read some important books (Clean Code; The Clean Coder; Domain-Driven-Design…)
What is a simple project? According to Uncle bob :
Everyone who follows me on instagram (@devinvestidor) knows that I’ve been studying English a lot, and next year I will go to Ireland on an exchange.
So… This is my first post in English 🙂
I’ve been as a programmer for about 10 years and I’ve worked with many programmers in different stacks (Java, Javascript, Angular, React, Node, C#, Delphi, Ionic…).