Software Dev

Dependency Injection in a Sentence

Dependency Injection seems so confusing and counterintuitive at first, so I love this quote which pretty well summarizes and demystifies it.

Dependency injection means giving an object its instance variables. Really. That’s it.

Dependency Injection Demystified

2 thoughts on “Dependency Injection in a Sentence

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.