Rant after trying Rust a bit
Tobias Müller via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jul 25 12:05:38 PDT 2015
Walter Bright <newshound2 at digitalmars.com> wrote:
> On 7/24/2015 8:43 PM, Tofu Ninja wrote:
>> there is just a type at the top of the tree that
>> implements them all
>
> The one type that encompasses everything defeats the whole point of type
> checking, traits, concepts, etc.
That's exactly my feeling with dynamic casts / QueryInterface... Pass
'object' everywhere and then cast it to the desired interface in demand.
Tobi
More information about the Digitalmars-d
mailing list