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.
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.