In my recent post about creating a blogging platform I posted a piece of code like this:
public MarkdownPost(Resource resource)
How do you decide if a class should be hidden behind an interface or not? What has to happen to make you think “Oh, I should create an interface here”? Quick googling and we land on a StackOverflow
Begineer guide to using the power of Dependency Inversion with examples in Java.
Dependency Inversion allows us to make low-level details depend on high-level policies, opposing the flow of