2 ms·
The first isn't really a critique of OOP. It's a critique of ORMs that doesn't recognize ORMs are not OOP despite the name - they initialize state that language
by losteric 6y ago
The first isn't really a critique of OOP. It's a critique of ORMs that doesn't recognize ORMs are not OOP despite the name - they initialize state that languages refer to as "objects", but those do not offer true abstractions.
The second link is good, but it's just describing OOP done right. If you read the original publications, way back, OOP was never about idiomatically programming in Things - the typical example of "Dog extends Animal" is antithetical. Objects should be closer to microservices. Within those objects... stateless transforms and simple state containers (like structs), or some spaghetti. Didn't matter, the other objects should never interact below the interface.