News for hackers. Stuff that matters.
Re:Ask HN: Why do you make class members private? by pessimizer on Monday July 25, 2022 @02:11PM (#32228535)
Because they are for the use of the functions within the class/module/whatever, not for the use of functions interfacing with it. Private functions for me are mainly for DRY, not for being secret special menu items.

There are no comments on this comment yet.