The Startup
Published in

The Startup

About design patterns: Dependency Injection

credit photo: Bamboo Complexity, taufuuu

What is dependency injection?

Dependency injection (DI) is a very simple concept that aims to decouple components of your software and ease their integration and testing. It does so by asking for their sub-components instead of creating them.

During this article, we will also mention inversion of control (IoC), which is commonly used along with…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Antoine Veuiller

Antoine Veuiller

Software engineer focused on Backend and DevOps. All my blog posts are available on https://aveuiller.github.io/