Glossary: Software Design Patterns
Constructor injection
Passing an object its dependencies through `__init__` so it keeps them for its whole life. `OrderLog(repo, clock, notifier)` does this.
Glossary: Software Design Patterns
Passing an object its dependencies through `__init__` so it keeps them for its whole life. `OrderLog(repo, clock, notifier)` does this.