The Rabbit Hole: The Definitive Developer's Podcast

168. SOLID - Interface specificity principle

08.11.2020 - By Stride NYCPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

We’re back on SOLID ground. Today we explore the ‘I’ in SOLID, A.K.A the interface segregation principle or ISP. After debating how inappropriately the principle is named, we dive into what it means, that “no client should be forced to depend on methods it does not use.” We drill even further into what this means by using the metaphor of a Swiss Army knife and what it would take to code an athlete in Java. We discuss why you should apply the ISP and later share experiences where we’ve abandoned the principle, intentionally or not.

More episodes from The Rabbit Hole: The Definitive Developer's Podcast