mutable parameter
[ˈmjuːtəbəl pəˈræmɪtər]
nounpl: mutable parameters
parâmetro mutável
1. A function or method parameter that can be modified or changed after being passed to the function, typically referring to objects or data structures that can be altered in place
In Python, a mutable parameter like a list can be modified within the function, affecting the original object outside the function scope.
Em Python, um parâmetro mutável como uma lista pode ser modificado dentro da função, afetando o objeto original fora do escopo da função.
2. A programming concept where the contents of a passed argument can be changed by the called function, as opposed to immutable parameters which cannot be altered
When passing a dictionary as a mutable parameter, any changes made to it inside the function will persist after the function returns.
Ao passar um dicionário como parâmetro mutável, qualquer alteração feita nele dentro da função persistirá após o retorno da função.
This is a specialized technical term used primarily in computer science and software development contexts. It is uniform across English-speaking and Portuguese-speaking technical communities, with no significant regional or cultural variations in usage. The term is essential in programming education and is used consistently in both Brazilian and European Portuguese technical documentation.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →