Skip to content

Commit

Permalink
Fix README.rst Overview section
Browse files Browse the repository at this point in the history
  • Loading branch information
mediapills committed Aug 22, 2021
1 parent 6fa78a7 commit d46670f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ dependency (a service) into the client that uses it.

Dependency injection solves the following problems:

# How can a class be independent of how the objects on which it depends are created?

# How can the way objects are created be specified in separate configuration files?

# How can an application support different configurations?
* How can a class be independent of how the objects on which it depends are created?
* How can the way objects are created be specified in separate configuration files?
* How can an application support different configurations?

Creating objects directly within the class commits the class to particular
implementations. This makes it difficult to change the instantiation at
Expand Down

0 comments on commit d46670f

Please sign in to comment.