inversion of control
[ɪn'vɜːrʒən əv kən'troʊl]
noun
inversão de controle
1. A software design principle where the control flow of a program is inverted; instead of the application code calling library functions, the framework calls the application code through callbacks or dependency injection
The inversion of control pattern allows frameworks to manage object creation and lifecycle instead of the programmer.
O padrão de inversão de controle permite que frameworks gerenciem a criação e o ciclo de vida de objetos em vez do programador.
2. A technique used in object-oriented programming where dependencies are provided to a class rather than the class creating them itself
By using inversion of control, we can inject different implementations of a service without changing the client code.
Ao usar inversão de controle, podemos injetar diferentes implementações de um serviço sem alterar o código do cliente.
This is a technical term primarily used in software engineering contexts. It became prominent with the rise of Java frameworks like Spring in the early 2000s. In Brazil, it is commonly taught in computer science programs and is standard terminology in the tech industry. The concept represents a shift from imperative to declarative programming styles and is fundamental to modern framework design in both English-speaking and Portuguese-speaking software development communities.
Related Idioms & Phrases
the Hollywood principle: don't call us, we'll call you
loose coupling through IoC
invert the dependencies
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →