DI and passing of dependencies
Constructor, methods, or public variables? Every way of passing dependencies has its pitfalls – immutability, inheritance, boilerplate code. I break down why even constructor injection isn't without problems and what could help.