News for hackers. Stuff that matters.
Re:The Case Against OOP Is Wildly Overstated by chongli on Saturday August 01, 2020 @06:51AM (#24019444)
entire point of OOP is to encapsulate state within objects

And that’s the fundamental problem with OOP. State can’t be encapsulated. It’s highly radioactive. State should be kept to the boundaries of your application, where it interfaces with the real world, and minimized as much as possible. The core should be immutable.

There are no comments on this comment yet.