SOLID Design Principles
Learned in CS247.
The purpose of SOLID Design Principles is to reduce software rot (the property that long lasting codebases become more difficult to maintain).
Used it at work!
Actually had to use it at work at Ford. Was tasked to make some changes in our code base. And i was wondering if I needed to create a new watchdog class, since I don’t want our initial class to do two things… A class should should only have ONE reason to change.
SOLID is an acronym of 5 principles:
- Single Responsibility Principle
- Open-Closed Principle
- Liskov Substitution Principle
- Interface Segregation Principle
- Dependency Inversion Principle