News for hackers. Stuff that matters.
Re:Ask HN: Why do you make class members private? by Saphyel on Monday July 25, 2022 @03:35PM (#32229804)
> 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 "_"

Re:Ask HN: Why do you make class members private? by mytailorisrich on Tuesday July 26, 2022 @12:04AM (#32234119)
Yes but that point is irrelevant to the question...