Re:The Big Oops: Anatomy of a Thirty-Five Year Mistake
by Ferret7446 on Saturday July 26, 2025 @03:11AM
(#44692054)
The flaw here isn't OO, but the idea that it should be applied in all cases. The point of OO methods is to control access and mutation of an object's private members. Rather than have clients know to, e.g., lock specific fields before accessing, you expose a method that handles the locking appropriately.
[ Parent
| on HN ]
There are no comments on this comment yet.