Even if you're not an architect, or you don't intend to become one, as a serious developer, you should implement SOLID principles when you develop object-oriented software. In this introduction, we will just briefly look at each of the principles without developing them in detail.
The patterns we need should have the following properties:
- Loose coupling
- Testability
- Responsibility delegation
- Flexibility
According to Uncle Bob (Robert Martin), the SOLID design principles are as follows:
- S - Single Responsibility Principle: Objects should each have a single responsibility and a single reason to change.
- O - Open-Closed principle: Software entities should be open for responsibility, but closed for modification.
- L - Liskov Substitution ...