-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# ServiceLocator | ||
This is a test implementation of a service locator, inspired by the need for an alternative IoC pattern to simple dependency injection via class __init__s. While I like IoC and recognize that DependencyInjection has a lot going for it when used in a strongly typed language, in Python, it tends lead to hard-to-follow code without extreme discipline - a lot of intermediate classes passing dependencies through them. Having to chase dependencies around to understand what the heck is going on. yuck. |