Rant after trying Rust a bit
Timon Gehr via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 27 13:49:26 PDT 2015
On 07/27/2015 01:29 AM, Walter Bright wrote:
> On 7/26/2015 3:44 PM, deadalnix wrote:
>> or template code (which will blow up at instanciation time, or worse,
>> do random
>> shit).
>
> Um, all Rust traits do is test for a method signature match, so it
> compiles. It is NOT a defense against a random method that just happens
> to match and does some other unrelated random shit.
You are describing Go interfaces, not Rust traits.
More information about the Digitalmars-d
mailing list