Have you ever heard of SOLID? 🤔 Let's look at the 'I: Interface Segregation Principle (ISP)' of it.
By the book's definition:
Clients should not be forced to depend upon interfaces that they do not use.
But what does it mean? 🤔Let's clarify key terms. 'Client' refers to the class or interface that implements another, broader interface. 'Should n...
iamgautam.hashnode.dev2 min read