dependency injection
[/dɪˈpɛndənsi ɪnˈdʒɛkʃən/]
noun
injeção de dependência
1. A software design pattern that deals with how components get hold of their dependencies. The pattern involves three types of classes: a service class, a client class, and an injector class that injects the service class into the client class.
Dependency injection makes the code more testable by allowing mock objects to be easily substituted for real dependencies.
A injeção de dependência torna o código mais testável ao permitir que objetos simulados sejam facilmente substituídos por dependências reais.
2. A technique where objects required by a class are provided to it rather than the class creating them itself, promoting loose coupling and improved maintainability.
Spring Framework is a popular Java framework that implements dependency injection to manage bean lifecycles.
Spring Framework é um framework Java popular que implementa injeção de dependência para gerenciar ciclos de vida de beans.
Dependency injection is a fundamental concept in modern software development, particularly in enterprise applications. Both Brazilian and American tech communities use this English terminology extensively, even in Portuguese-language documentation. It became prominent through frameworks like Spring (Java), .NET Dependency Injection (C#), and Angular (TypeScript). In Brazil's growing tech sector, understanding DI patterns is essential for professional developers, and the term is often left untranslated in technical discussions and code repositories.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →