4 Removed meta information (this belongs in comments, if any), etc.
source | link

There have been several questions already posted with specific questions about dependency injection dependency injection, such as when to use it, and what frameworks are there for it. However, here's the newbie question:

What is dependency injection and when/why should or shouldn't it be used?

Edit: While external links for followup reading are always appreciated, I'd like to encourage people to write as complete an answer here as possible, so that SO itself can be a good source to learn. I believe this is the intent of the site.

There have been several questions already posted with specific questions about dependency injection, such as when to use it, what frameworks are there for it. However, here's the newbie question:

What is dependency injection and when/why should or shouldn't it be used?

Edit: While external links for followup reading are always appreciated, I'd like to encourage people to write as complete an answer here as possible, so that SO itself can be a good source to learn. I believe this is the intent of the site.

There have been several questions already posted with specific questions about dependency injection, such as when to use it and what frameworks are there for it. However,

What is dependency injection and when/why should or shouldn't it be used?

    Question Protected by Community
3 edited tags
| link
2 added 17 characters in body
source | link

There have been several questions already posted with specific questions about dependency injection, such as when to use it, what frameworks are there for it. However, here's the newbie question:

What is dependency injection and when/why should or shouldn't it be used?What is dependency injection and when/why should or shouldn't it be used?

Edit: While external links for followup reading are always appreciated, I'd like to encourage people to write as complete an answer here as possible, so that SO itself can be a good source to learn. I believe this is the intent of the site.

There have been several questions already posted with specific questions about dependency injection, such as when to use it, what frameworks are there for it. However, here's the newbie question:

What is dependency injection and when/why should or shouldn't it be used?

Edit: While external links for followup reading are always appreciated, I'd like to encourage people to write as complete an answer here as possible, so that SO itself can be a good source to learn. I believe this is the intent of the site.

There have been several questions already posted with specific questions about dependency injection, such as when to use it, what frameworks are there for it. However, here's the newbie question:

What is dependency injection and when/why should or shouldn't it be used?

Edit: While external links for followup reading are always appreciated, I'd like to encourage people to write as complete an answer here as possible, so that SO itself can be a good source to learn. I believe this is the intent of the site.

1
source | link