Back to basics: SOLID – Interface Segregation Principle (ISP)
SOLID: Interface Segregation Principle (ISP)
Woosh, the fourth article! That’s a lot of information to have for SOLID principles.
But you know, in a developer’s life, it’s always a good practice to learn more, because our profession keeps evolving, and making things better often goes together with learning new things each day.
By the way, it’s also cool to get Smarter Every Day!
“I” for ISP
Interface Segregation Principle explains that classes should not constrain themselves and each other, and to accept more of their kind .
All the SOLID articles on KNPLabs: