Advent Calendar #20 - The interface segregation principle
It states
1) that classes should not depend on interfaces, that they can't implement
2) that you should only depend on the data that you need in a specific place.
Today's post is about the second less obvious meaning. Let's look at the following code...
royalzsoftware.hashnode.dev2 min read