constant variable

[ˈkɑːnstənt ˈvɛriəbəl]
nounpl: constant variables
variável constante
1. In programming and mathematics, a variable that is declared with a constant modifier, preventing its value from being changed after initial assignment
In Java, a constant variable is declared using the 'final' keyword to ensure the value cannot be modified.
Em Java, uma variável constante é declarada usando a palavra-chave 'final' para garantir que o valor não possa ser modificado.
2. A paradoxical or contradictory term sometimes used to describe a variable quantity that remains unchanged throughout a process or program execution
The constant variable PI was set to 3.14159 and remained the same throughout the entire calculation.
A variável constante PI foi definida como 3.14159 e permaneceu a mesma durante todo o cálculo.
This is primarily a technical term used in computer science and mathematics education. The term is somewhat oxymoronic in nature, as 'constant' and 'variable' are traditionally opposing concepts. In Brazilian tech culture and international programming communities, it's used to describe programming constructs that prevent modification of values after initialization. The term is less commonly used in everyday Brazilian Portuguese and is specific to academic and professional technical discourse.
Synonyms / Sinônimos
immutable variablefinal variableread-only variablefixed constant
Antonyms / Antônimos
mutable variabledynamic variablechangeable variable

Regional Variations

General Brazilian
variável constante
Standard term used in Brazilian computing and mathematics education
Portugal
variável constante
Same terminology as Brazilian Portuguese in technical contexts
Technical/International
constante
Often shortened to just 'constante' in coding contexts

Related Words

constantvariableimmutabilitydeclarationassignmentscope

Related Idioms & Phrases

set in stone (figurative: constant variable that cannot change)
locked in (describing a constant variable that is immutable)
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →