3 ms·
I don't understand the argument, though. Python's underscore variables are meant to not be accessed from outside. The argument against them isn't that you might
by StavrosK 8y ago
I don't understand the argument, though. Python's underscore variables are meant to not be accessed from outside. The argument against them isn't that you might be doing some non-obvious things inside the class, that's the whole point of them!
It's a way for the class user to say "I know this is terrible, I know this might break, I want to do it anyway".