Skip to content

Glossary: Software Design Patterns in C++

Dependency

Also written: dependencies

Anything code needs to do its job, such as a database, a notifier or the clock. The old `place_order` reached for all of them itself.

Where the book teaches it

Related terms

Dependency injection