News for hackers. Stuff that matters.
Re:The Costs of Microservices by protomolecule on Tuesday October 31, 2023 @05:39AM (#38082254)
I see, thanks. My original interpretation was that by "separating data from logic" you meant data-oriented programming where you intentionally give up on encapsulation.

"which is that if you're passing behavioral inheritance from a "server" to a "client", then it gets harder and harder to predict how that client is going to use it"

You mean a "server" returning the base class object whose methods are overridden by a successor class known only to the "server"?

Re:The Costs of Microservices by lemmsjid on Tuesday October 31, 2023 @12:51PM (#38087769)
Yep. Mentally it's rather like the unpredictable behavior you'd get if an API server was passing code to the client for it to execute.