Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0205 poo encapsulamento #260

Open
wants to merge 16 commits into
base: 02_programacao_orientada_objetos
Choose a base branch
from

Conversation

pouthergust
Copy link

Podemos ver em "Aplicando encapsulamento em Python" na segunda aula ("Recursos públicos e privados") que tornar um atributo privado em python existe apenas uma convenção, entretanto o python implementa o 'Name Mangling' para tornar o atributo inacessível de fora da classe


We can see on "Aplicando encapsulamento em Python", in the second class ("Recursos públicos e privados"), that making a property into a private is only a good practice, but Python got 'Name Mangling' to change the access to a property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants