What is dependency injection

122 viewsOtherTechnology

What is dependency injection

In: Technology

6 Answers

Anonymous 0 Comments

Dependency injection is a programming technique that helps programmers be more productive. If you are writing a program that needs to sort a list, rather than writing the list-sorting code yourself, you might instead write a statement that pulls in list-sorting code from somewhere else (the “somewhere else” is “injecting” the code you “depend” on), and you just use that.

You are viewing 1 out of 6 answers, click here to view all answers.