News for hackers. Stuff that matters.
Re:Learning from the Object Oriented Mania by palata on Wednesday May 15, 2024 @09:44AM (#40366881)
> OOP intentionally turns all software into a distributed system --- even if it is not distributed.

Could you elaborate on that? And would you say for instance that Rust suffers from the same problems? Because Rust offers many characteristics of OOP.

Re:Learning from the Object Oriented Mania by jqpabc123 on Wednesday May 15, 2024 @10:20AM (#40367315)
Could you elaborate on that?

Distributed systems typically rely on messaging passing to some sort of "interface" in order to communicate and coordinate actions with remote nodes. Objects work much the same way and are designed to mimic the characteristics of an independent, remote computer node.

This can be done in any language that offers encapsulation of data, methods and state.