Not that long ago, I often got stuck at "properly" dealing with the dependencies of dependencies, also known as transitive dependencies.
I’m a bit allergic to depend on third-party dependencies to solve my own dependencies. For that reason, I am sharing some ideas on how to solve it “naturally”.
Because, surprisingly, you can often solve your dependency problem without special techniques, such as singletons, service locators, or even entire frameworks. In fact, you often don’t need interfaces either!
In this new article, I want to show you that, with a simple trick, you can elegantly handle transient dependencies without resorting to fancy frameworks or singletons.
Read Elegantly Handling Transitive Dependencies to learn how.