Interface Segregation Principle
Everything on SkillVeris tagged Interface Segregation Principle — collected across the glossary, study notes, blog, and cheat sheets.
5 resources across 1 library
Interview Questions(5)
What is the Interface Segregation Principle?
The Interface Segregation Principle (the 'I' in SOLID) states that no client should be forced to depend on methods it does not use, so large interfaces should…
What is a Fat Interface in OOP?
A fat interface is an interface that declares too many unrelated methods, forcing implementing classes to provide (or stub out) behavior they don’t actually ne…
What is Interface Pollution in OOP?
Interface pollution is the ongoing design mistake of adding methods to an existing shared interface that are only relevant to some implementers, gradually turn…
What is a Role Interface in OOP?
A role interface is a small, focused interface that describes one specific behavior or capability a client depends on, rather than the full public surface of a…
Header Interface vs Role Interface
A header interface exposes every public method of a single concrete class as one large interface mirroring that class, while a role interface is a small, clien…