40 ms·
> Making variables and methods private means making them inaccessible outside the class and I gave the typical reasons/best practices for that. The point they
by Saphyel 4y ago
> Making variables and methods private means making them inaccessible outside the class and I gave the typical reasons/best practices for that.
The point they are making is in python there's no private method, everything is public. There's only a convention of "avoid using anything starting with "_"
- mytailorisrich 4y agoYes but that point is irrelevant to the question...