3 ms·
How's Rust at doing OOP these days? (Assuming we're in a domain or situation where OOP is a good choice, of course.) I would love to know about any projects th
by verdagon 4y ago
How's Rust at doing OOP these days? (Assuming we're in a domain or situation where OOP is a good choice, of course.)
I would love to know about any projects that do OOP well in Rust.
- nicoburns 4y agoIMO Rust has most of the best bits of OOP (the ability to encapsulate functionality in an object with private fields and present a restricted public interface), without the bad bits (inheritance, and complex soups of objects all holding pointers to each other that make code flow hard to reason about)