A client should never be forced to implement an interface that it doesn’t use
clients shouldn’t be forced to depend on methods they do not use.
- If a given interface has more features than you require, create a new interface that includes only the functionality that your client code requires, and which you can implement fully.
- The Interface Segregation Principle (ISP) states that clients should not be forced to depend on methods that they do not use.
Don't Depend on What You Don't Use