For more content follow @penregaliaict Credit @dudetalkscode
. . .
SOFTWARE DESIGN PRINCIPLE #4 : INTERFACE SEGREGATION PRINCIPLE
The Interface Segregation Principle has many faces to it…. Quite literally, the principle states that a multitude of segregated interfaces is much better than an all-inclusive general interface. This is because as you reuse a general interface for many different objects, you are implementing methods that are not even used by that object. This ruins the entire purpose of modularizing with interfaces. This is a principle that while it takes more initial time to develop in the beginning of a project, it will be well worth it in the future.
What are your thoughts on the Interface Segregation Principle?