24 ms·
> "OOP Patterns in Rust" is a very different book. Then may be there should be one like that :) May be it's just my personal impression, but I feel that such k
by shmerl 11y ago
> "OOP Patterns in Rust" is a very different book.
Then may be there should be one like that :) May be it's just my personal impression, but I feel that such kind of documentation now is lacking.
OOP in Rust shouldn't necessarily focus on comparison with other languages (though explaining key differences would be very helpful). But it at least should explain common use cases that OOP expects the language to cover and approaches that Rust proposes for them.
Something like this would very useful in The Book (or some other book): https://lwn.net/Articles/548560/ https://lwn.net/Articles/548560/
- steveklabnik 11y agoYeah, I think it would be a good book to have. It's just not one that I'm going to write. Hopefully someone else does!