Interface Segregation: Small Promises
When one big promise makes every course answer for attendance, labs and a final exam, a course with no labs has to fake its answers, and the fakes end up on the lab report; the interface segregation principle says to make small promises, so each class keeps only what it can and each piece of code asks only for what it uses.
Updated

- Category
- Data Structures
- Level
- Journeyman
- Tags
- Interface, Interface Segregation Principle, OOP