SOLID are5 design principles intended to make software designs more understandable, flexible and maintainable. SOLID principles can also form a core philosophies for methodologies like agile development or adaptive software development.
Single Responsibility | A class should only have a single responsibility |
Open-Closed | Software entities should be open for extension but closed for modification. |
Liskov Substitution | Instances of a program should be replaceable by their subtypes without altering the correctness of the program. |
Interface Segregation | Many client-specific interfaces are better than one general purpose interface. |
Dependency Inversion | One should depend upon abstractions, not concretions. |
No comments:
Post a Comment