Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pjmlp
on March 10, 2022
|
parent
|
context
|
favorite
| on:
Things I hate about Rust, redux
I am perfectly fine not having such difference in C++.
pcwalton
on March 10, 2022
[–]
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.
pjmlp
on March 11, 2022
|
parent
[–]
That is a point of view, I dislike having to type dyn all over the place, and Impl Something as well, while we are on it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: