Clevyr Picks: Dependency Injection

Design Patterns: Dependency Injection

This post from our “Clevyr Picks” series was originally written by one of our software engineers: Aaron Krauss.

Dependency Injection is a design pattern in programming that you may have heard of — but also may not be super familiar with. It has plenty of benefits such as loose coupling and simplifying testing — and it does this by taking away the control of dependency management from your executing code and giving it to the part of your application that actually invokes that code. Confused yet? That’s okay — if you’re interested in learning more, check out Aaron’s post on Dependency Injection!