News for hackers. Stuff that matters.
Re:Java 1.0 Turns 25 by augustk on Sunday January 24, 2021 @03:19AM (#25890329)
"Although it's a fundamental feature of object-oriented programming, remarkably few OO languages really follow it. (Eiffel is naturally an exception.) Most languages simulate it by convention, hence the habit of using accessors such as getAge in Java and C++ programs."

https://martinfowler.com/bliki/UniformAccessPrinciple.html

There are no comments on this comment yet.