SOLIDPrinzipien
SOLID principles are a set of five design principles for object-oriented programming and design. They are intended to make software designs more understandable, flexible, and maintainable. The acronym SOLID stands for Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion.
The Single Responsibility Principle (SRP) states that a class should have only one reason to change. This
The Liskov Substitution Principle (LSP) states that objects of a superclass should be replaceable with objects
Finally, the Dependency Inversion Principle (DIP) states that high-level modules should not depend on low-level modules.