Interface Segregation Principle
2020, Aug 05
- It splits interfaces that are very large into smaller and more specific ones so that clients will only have to know about the methods that are of interest to them. Such shrunken interfaces are also called role interfaces.
- “Clients should not be forced to depend upon interfaces that they do not use.”
- Reduce the side effects of using larger interfaces by breaking application interfaces into smaller ones.