SOLID code
SOLID as stated by ????
- Single responsibility,
- Open closed principle,
- Liskov substitution principle,
- Interface segregation principle
- Dependency Inversion
These are five prnciples while doing class design
SRP | Single Responsibility Principle | A class should have one, and only |
OCP | You should be able to extend a | |
LSP | Derived classes must be | |
ISP | Interface Segregation Principle | Make fine grained interfaces that |
DIP | Dependency Inversion Principle | Depend on abstractions, not on |