News for hackers. Stuff that matters.
Re:Ask HN: Why do you make class members private? by ipaddr on Monday July 25, 2022 @02:07PM (#32228473)
Marking it private doesn't allow any subclasses to change the value directly and must use the get/set methods provided where you can enforce standards or format accordingly.

There are no comments on this comment yet.