Interface segregation principle
ID: interface-segregation-principle
The Interface Segregation Principle (ISP) is one of the five SOLID principles of object-oriented design, which were introduced by Robert C. Martin (often referred to as Uncle Bob). The principle states that no client should be forced to depend on methods it does not use. In other words, an interface should only contain method signatures that are relevant to the clients that use it.
New to topics? Read the docs here!