News for hackers. Stuff that matters.
Re:Ask HN: Why do you make class members private? by 3np on Monday July 25, 2022 @02:27PM (#32228769)
Changing public things means changing the API. It means having to update documentation and, in case of breaking changes, major version bumps and maybe even other communication.

Changing private things and nobody might ever know.

It's about the need to coordinate and communicate changes and avoid people relying on unspecified behavior.

There are no comments on this comment yet.