Translations:Development/Tutorials/Common Programming Mistakes/53/pt-br: Difference between revisions

From KDE TechBase
(Created page with "Veja bem, ''pollute()'' instancia um novo objeto ''polluter'' da classe ''t''. Em seguida, a variável ''polluter'' é perdida porque é local, mas o conteúdo (o objeto) perm...")
 
(No difference)

Latest revision as of 21:00, 5 February 2020

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Development/Tutorials/Common Programming Mistakes)
You see, ''pollute()'' instantiates a new object ''polluter'' of the class ''t''. Then, the variable ''polluter'' is lost because it is local, but the content (the object) stays on the heap. I could use this program to render my computer unusable within 10 seconds.

Veja bem, pollute() instancia um novo objeto polluter da classe t. Em seguida, a variável polluter é perdida porque é local, mas o conteúdo (o objeto) permanece no heap. Eu poderia usar este programa para tornar meu computador inutilizável em 10 segundos.