Software Engineering Principles
Software Engineering Principles
1. SOLID Principles
- Single Responsibility: Each class should have one responsibility.
- Open/Closed Principle: Code should be open for extension but closed for
modification.
- Liskov Substitution: Derived classes should be replaceable by base classes.
- Interface Segregation: Prefer multiple specific interfaces over one general
interface.
- Dependency Inversion: Depend on abstractions, not concrete implementations.