News for hackers. Stuff that matters.
Re:Ask HN: Why do you make class members private? by oliwarner on Monday July 25, 2022 @04:25PM (#32230442)
Intent.

It says "don't call me". That might be because it might be refactored without notice, or might break the intended use of the Class.

Even in languages without formal class access control, there is convention for labelling something as externally unsafe. It's an important part of sharing code.

There are no comments on this comment yet.