News for hackers. Stuff that matters.
Re:Ask HN: Why do you make class members private? by sshine on Monday July 25, 2022 @04:39PM (#32230595)
> Encapsulation is a founding principle of OOP.

The more fundamental principle that predates OOP is: Abstraction

https://en.wikipedia.org/wiki/Abstraction_(computer_science)

There are no comments on this comment yet.