Re:Correctness – A paradigm for sustainable software develop...
by beders on Friday April 05, 2019 @09:41PM
(#19588617)
You arguments are all nice and dandy - but who uses OOP like this?
And you still have the state being all over the place problem.
I think I made it clear that OOP is fine if you can afford to live in that space.
In practice you often can't.
Re the boundary problem: Sending objects over wire doesn't solve it at all, it makes it worse. Object identity for once and incompatible classes between client/server.
Hiding data in magic objects just doesn't work.
It's the reason CORBA failed, it's the reason RMI is a nightmare, it's the reason we have data-oriented wire protocols.
I think I made it clear that OOP is fine if you can afford to live in that space. In practice you often can't.
Re the boundary problem: Sending objects over wire doesn't solve it at all, it makes it worse. Object identity for once and incompatible classes between client/server. Hiding data in magic objects just doesn't work. It's the reason CORBA failed, it's the reason RMI is a nightmare, it's the reason we have data-oriented wire protocols.