Jump to content

Talk:Dependency injection/Archives/2015/May

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


DI diminishes encapsulation

This reference is poor and the claim seems to be otherwise unsubstantiated. This article: http://www.bryancook.net/2011/08/on-dependency-injection-and-violating.html states the opposite that "To prevent violating encapsulation concerns, use inversion of control to promote using abstractions instead of concrete dependencies. ", and this article: https://devdimi.wordpress.com/2008/11/24/dependeny-injection-vs-encapsulation/ makes a good argument against the specific claim made here. — Preceding unsigned comment added by 90.217.41.0 (talk) 12:32, 26 May 2015 (UTC)