Daily Pattern (Software Architecture and Design, Refactoring)
883 subscribers
32 photos
39 links
Software design patterns and principles, tips, code quality, software architecture, refactoring

Java, Scala, Kotlin

Feedback, реклама: @dailypatternfeedbackbot
Download Telegram
#SOLID Interface-Segregation Principle

The interface-segregation principle (ISP) states that no client should be forced to depend on methods it does not use.

ISP splits interfaces that are very large into smaller and more specific ones so that clients will only have to know about the methods that are of interest to them.

Details: https://dzone.com/articles/solid-principles-interface-segregation-principle
Wikipedia: https://en.wikipedia.org/wiki/Interface_segregation_principle