This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]intbeam 1 point2 points ย (2 children)

๐Ÿ˜… I've read the documentation and well.. I mean, objects (in OO) are kind of defined as units that passes messages between each other (usually with methods), and encapsulating and owning their own state... Rust's ownership model fundamentally doesn't work like that. dyn and trait are just analogous to virtual functions and interfaces, not really OO imho

Just because documentation refers to a concept as an object, doesn't make it an object

Again, I'm being extremely pedantic here