Continuing our study to Be a Professional Developer and exploring SOLID principles, today we will dive into the 3rd principle of SOLID, Liskov Substituition Principle (LSP).
Category Archives: Clean Code
Open/Closed Principle of SOLID (BPD)
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.
Single Responsibility Principle of SOLID (BPD)
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.
Don’t delete .spec file in Angular!
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 :
- Do all the tests
- No code duplication
- Express the programmer’s purpose
- Minimize the number of classes and methods
BE CAREFUL with your project dependencies
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…).