this post was submitted on 15 Jun 2023
5 points (100.0% liked)

Rust Programming

8190 readers
30 users here now

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.one/post/123519

Skip to around 24m:00s

you are viewing a single comment's thread
view the rest of the comments
[–] modulus@lemmy.ml 1 points 1 year ago

To be fair, OO is not so strictly linked to inheritance, and one could conceive Rust structs and traits as a sort of OO system in some ways. For example, in the way that different struct types may implement a given trait and run a method with a common name and interface.

Still, I would say the design Rust accommodates is different from typical OO design.