Re:Things I hate about Rust, redux
by pjmlp on Thursday March 10, 2022 @11:58AM
(#30629181)
I am perfectly fine not having such difference in C++.
[ Parent
| on HN ]
I'm not, because of the object slicing problem. Value types and inheritance don't mix well, and the way Rust expresses inheritance with explicit "dyn" traits solves the problem neatly.