The Interface Segregation Principle (ISP): Clients should not be forced to depend upon interfaces that they do not use.
The "fat interfaces" — interfaces with additional useless methods — lead to inadvertent coupling between classes. This is the real reason why the ISP should be adhered to. Coupling is the bane of reusability. Fat interfaces also introduce unnecessary complexity, which isn't good for maintainability or robustness.
No comments:
Post a Comment