Interface Segregation Principle explained with simple example
Interface Segregation Principle (ISP) is a software design principle which states that “many client specific interfaces are better than one generic interface“. This principle enforces to implement only usable methods which will reduce coupling between modules. This principle ensures that any client should be dependent only on those methods which they use.
Before going ahead we should know why do we need software design principle and what is software design principle.
(more…)