Dependency Injection


A long time ago, I answered several questions on Stackoverflow about Dependency Injection. To get my blog started, I thought to reuse my given answers in this blog post. DIP means that you program against an abstraction. You invert the kind of a dependency from an implementation to an abstraction. IOC means that somebody else is responsible for getting the implementation for the given abstraction. Normally the consumer would use the new keyword to get a dependency. [Read More]