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.

By

Updated

Cheat sheet: Interface Segregation: Small Promises
Category
Data Structures
Level
Journeyman
Tags
Interface, Interface Segregation Principle, OOP