News for hackers. Stuff that matters.
Re:Ask HN: Why do you make class members private? by robalni on Tuesday July 26, 2022 @02:53AM (#32235195)
> any references to it are bound to break

Do you mean that if someone changes a class member, they would not change in all places that use that class member? Why not?

> someone that relies on your class may not have access to the code

As I wrote in the clarification, I'm only interested in cases where everyone has access to all the code.

There are no comments on this comment yet.