202204272244 SOLID design principles
The SOLID mnemonic are five design principles for object oriented programming. They ideas were first introduced by Robert C. Martin in his 2000 paper Design Principles and Design Patterns.
- 202204291512 Single responsibility — There should never be more than one reason for a class to change.
- 202204272242 Open-closed — Software entities should be open for extension but closed for modification.
- 202204291513 Liskov substitution — Functions that use pointers or references to base classes must be able to use objects of derived classes without knowing it.
- 202204291514 Interface segregation — Many client-specific interfaces are better than one general-purpose interface.
- 202204291515 Dependency inversion — Depend upon abstractions, not concretions.