Very cool. I agree that naming will have an effect on psychology. A similar
case is the type of reactions the word "template" may evoke, when it
reminds people of the way C++ does them.

--
Ziad


On Sat, Nov 16, 2013 at 12:15 PM, Patrick Walton <[email protected]>wrote:

> Nope. It's carefully designed so that pointer types only form the
> subtyping relationship, eliminating this problem.
>
> BTW, I was thinking maybe we should just rename this feature to
> "structural constraints" to avoid the "ewww, OO" reactions.
>
>
> Ziad Hatahet <[email protected]> wrote:
>>
>> If structural inheritance were to be implemented, would we have the
>> slicing problem in Rust, as it happens in C++?
>>
>> [1] http://en.wikipedia.org/wiki/Object_slicing
>> [2]
>> http://stackoverflow.com/questions/274626/what-is-the-slicing-problem-in-c/
>>
>>
>> --
>> Ziad
>>
>>
> --
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to