4 ms·
That's true, but you did say that the other book is "more honest", which to me implies dishonesty. No worries regardless. > A non-biased and informed language
by steveklabnik 8y ago
That's true, but you did say that the other book is "more honest", which to me implies dishonesty. No worries regardless.
> A non-biased and informed language user may choose Rust despite this limitation, but not because of it.
Yeah, I guess this comes down to a difference in perspective; many people do prefer that Rust has no inheritance, and if it did, would choose Rust despite that, not because of it :)
> the newtype pattern is clearly a cumbersome solution for a language limitation.
It depends on your view too; that is, sub-typing has a lot of other problems. Sometimes, this "cumbersome"ness is what you want, because you don't want everything automatically forwarded through. For situations where you do, there has been talk of adding delegation support in some fashion.
Anyway, thank you, this is all good to know :)