News for hackers. Stuff that matters.
Re:The Case Against OOP Is Wildly Overstated by jayd16 on Friday July 31, 2020 @03:35PM (#24012934)
>The core design of OOP is to wrap mutable state behind methods which control that mutation.

That is the mechanism for immutability that is traditionally provided. It is easy to opt out of that protection.

Java and C# are getting records. They're a convenience but are in no way opposed or counter to OOP.

There are no comments on this comment yet.