IoC principle

[/aɪ.oʊ.ˈsiː ˈprɪn.sə.pəl/]
nounpl: IoC principles
princípio da inversão de controle
1. A software design principle where the control flow of a program is inverted; instead of the application code controlling the instantiation and lifecycle of objects, a framework or container manages these responsibilities
By applying the IoC principle, the framework handles object creation rather than the developer manually instantiating classes.
Ao aplicar o princípio da inversão de controle, o framework gerencia a criação de objetos em vez do desenvolvedor instanciar manualmente as classes.
2. A design pattern that promotes loose coupling between components by delegating object management to an external container or framework
The IoC principle enables better testability because dependencies are injected rather than hardcoded.
O princípio da inversão de controle permite melhor testabilidade porque as dependências são injetadas em vez de serem codificadas.
IoC principle is a fundamental concept in modern software engineering, particularly in frameworks like Spring (Java), ASP.NET Core (C#), and Angular (TypeScript). It is widely taught in computer science curricula in both Brazil and the USA as part of best practices in object-oriented design. The principle became particularly influential with the rise of dependency injection containers in the early 2000s.
Synonyms / Sinônimos
inversion of controlIoC container patterndependency inversion principle
Antonyms / Antônimos
tight couplingdirect instantiationhardcoded dependencies

Regional Variations

General Brazilian
princípio da inversão de controle
Standard technical term used in software development
Portugal
princípio da inversão de controlo
European Portuguese spelling with 'controlo' instead of 'controle'
Technical/Global
IoC
Acronym commonly used in documentation and code comments across all regions

Related Words

dependency injectionservice locatorframeworkcontainerloose couplingSOLID principles

Related Idioms & Phrases

let the framework do the heavy lifting
invert the flow of control
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →