wrapped function

[ræpt ˈfʌŋkʃən]
nounpl: wrapped functions
função encapsulada
1. A function that is enclosed or modified by another function to add additional behavior, error handling, or functionality without changing the original function's code
The wrapped function logs all inputs and outputs before executing the original logic.
A função encapsulada registra todas as entradas e saídas antes de executar a lógica original.
2. In programming, a function that is passed through a wrapper or decorator to extend or modify its behavior
Using a wrapped function allows developers to add authentication checks without modifying the core business logic.
Usar uma função encapsulada permite que os desenvolvedores adicionem verificações de autenticação sem modificar a lógica de negócio principal.
This is a technical computing term widely used in software development across all English and Portuguese-speaking regions. There is no significant cultural variation in usage. The term is typically used as-is in code and technical documentation, even in Portuguese-speaking countries, though Portuguese translations are used in explanatory materials and documentation.
Synonyms / Sinônimos
decorated functionwrapper functionhigher-order functionclosure
Antonyms / Antônimos
native functionunmodified functionraw function

Regional Variations

General Brazilian Portuguese
função encapsulada
Most common technical term in software development
Portugal
função embrulhada
Alternative literal translation, less common in formal contexts
Technical/International
wrapped function
Often used as-is in technical documentation across Portuguese-speaking countries

Related Words

decorator patternfunction wrappermiddlewarehigher-order functionaspect-oriented programmingmetaprogramming

Related Idioms & Phrases

wrap a function
function wrapping
wrap around
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →