Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
vringar16198yIIrc private attributes of an instance of a class can't be accessed by other objects of said class. But if you can prove me wrong, I will gladly give your bullshit a ++.
-
@vringar
Yeah... I see the logic he was trying to make, but it doesn't make much sense. You can't treat an object like a function
¯\_(ツ)_/ ¯
Related Rants
Object oriented thinking.
A boy tries to look at girl in a class.
Girl : It's bad manners.
Boy : No it's not. "MEMBERS OF THE SAME CLASS CAN ACCESS PRIVATE DATA".
undefined
oop