this pointer

[/ðɪs ˈpɔɪntər/]
nounpl: these pointers
ponteiro this
1. A reference to the current object in object-oriented programming, used within a class or instance method to refer to the object itself
The this pointer allows you to access member variables and methods of the current object instance.
O ponteiro this permite acessar variáveis de membro e métodos da instância do objeto atual.
2. In C++, a pointer that refers to the object for which a member function is called
In the constructor, you can use this->memberVariable to initialize class attributes.
No construtor, você pode usar this->variávelMembro para inicializar atributos da classe.
3. In Java and C#, a reference keyword that distinguishes between instance variables and local variables with the same name
Use this.name instead of name to refer to the instance variable explicitly.
Use this.nome em vez de nome para se referir explicitamente à variável de instância.
This is a highly specialized technical term used exclusively in programming education and software development. It is uniformly understood across all Portuguese-speaking regions in the context of object-oriented programming, though literal translations may vary. The term 'this' is often left untranslated in Portuguese programming documentation and code.
Synonyms / Sinônimos
self referenceimplicit object referencecurrent object reference

Regional Variations

General Brazilian
ponteiro this
Standard technical term used in programming contexts
Portugal
apontador this
Less common variant; ponteiro this is also used
Technical/Academic
ponteiro para o objeto atual
More descriptive translation sometimes used in educational materials

Related Words

pointerreferenceobject-oriented programmingmember functioninstance variableself

Related Idioms & Phrases

dereference the this pointer
this pointer ambiguity
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →