Dependency injection is passing an argument

added by DotNetKicks
1/27/2017 1:36:07 PM

1 Kicks, 441 Views

Is dependency injection really just passing an argument? A brief review. This is the first article in a small article series called from dependency injection to dependency rejection. In a talk at the 2012 Northeast Scala Symposium, Rúnar Bjarnason casually remarked that dependency injection is "really just a pretentious way to say 'taking an argument'".