Redeclare: meaning, definitions and examples

🔄
Add to dictionary

redeclare

 

[ ˌriːdɪˈklɛr ]

Verb
Context #1 | Verb

programming use

To declare a variable again in a programming context, often with a different type, scope, or value. This can also refer to changing an already existing declaration in a formal setting, such as legal or official documents.

Synonyms

redefine, reissue, restate.

Examples of usage

  • You cannot redeclare a constant variable in JavaScript.
  • In C++, you can redeclare a function in a different scope.
  • The committee decided to redeclare the policy to adapt to new changes.

Translations

Translations of the word "redeclare" in other languages:

🇵🇹 redeclaração

🇮🇳 पुनः घोषणा करना

🇩🇪 erneute Erklärung

🇮🇩 deklarasi ulang

🇺🇦 переголошення

🇵🇱 ponowne ogłoszenie

🇯🇵 再宣言する

🇫🇷 redéclaration

🇪🇸 redeclaração

🇹🇷 yeniden beyan

🇰🇷 재선언하다

🇸🇦 إعادة الإعلان

🇨🇿 znovu prohlášení

🇸🇰 znovu vyhlásenie

🇨🇳 重新声明

🇸🇮 ponovna razglasitev

🇮🇸 afturkalla

🇰🇿 қайта жариялау

🇬🇪 მחדש განცხადება

🇦🇿 təkrar bəyanat

🇲🇽 redeclaração

Etymology

The word 'redeclare' is formed from the prefix 're-', meaning 'again' or 'back', combined with the verb 'declare'. The root 'declare' comes from the Latin word 'declarare', which means 'to make clear' or 'to explain'. This Latin term is a combination of 'de-', meaning 'down' or 'completely', and 'clarare', meaning 'to make clear'. The evolution of language over the centuries led to the term being adopted into English, where it took on a more specific application within the context of formal announcements and declarations. The usage in programming contexts emerged in the late 20th century as coding practices and formalities became more complex, necessitating a way to update or change declarations in various programming languages.