3 ms·
That's because that happy family of business logic living in with state envisioned as a savior in the Smalltalk days turned out to be a hot mess. Information hi
by usrusr 2y ago
That's because that happy family of business logic living in with state envisioned as a savior in the Smalltalk days turned out to be a hot mess. Information hiding does not magically make problems go away, in particular not when code isn't "write once and don't ever touch again" and state outlives code iterations. OOP has been a great contribution to how we organize code, but its principles are best applied in moderation. It's quite mindboggling to see how many people still believe they are followers of the OOP ideals when in fact they have long moved on.
- lenkite 2y agoMaybe you could clarify what OOP means to you ? There are lots of successful real-world OOP frameworks which have solved lots of problems.
- igouy 2y agoWith getters and setters as default whither "information hiding".
- Pet_Ant 2y agoHow people think that code is OOP when it has setters and getters, especially when then don’t do any validation is beyond me. It’s just transaction scripts.