nested functions

[ˈnɛstəd ˈfʌŋkʃənz]
nounpl: nested functions
funções aninhadas
1. Functions defined within other functions, where an inner function has access to the scope of the outer function
In Python, nested functions can access variables from their enclosing function's scope.
Em Python, funções aninhadas podem acessar variáveis do escopo da função envolvente.
2. A programming technique where a function is declared and defined inside another function
The nested function creates a closure that remembers the value of the outer variable.
A função aninhada cria um encerramento que lembra o valor da variável externa.
This is technical computing terminology used uniformly across Brazil, Portugal, and English-speaking countries. The concept is fundamental in functional programming and is taught in computer science curricula internationally. No significant regional or cultural variations exist in usage.
Synonyms / Sinônimos
inner functionsenclosed functionschild functionslocal functions
Antonyms / Antônimos
global functionstop-level functionsouter functions

Regional Variations

General Brazilian
funções aninhadas
Standard terminology used in programming education and documentation
Portugal
funções aninhadas
Same terminology used, consistent with international standards
USA/International
nested functions
Standard English term used in programming contexts worldwide

Related Words

closurescopeencapsulationlexical scopingfunction declarationhigher-order functions

Related Idioms & Phrases

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