Interfaces, traits, concepts, and my idea for a DIP

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 29 09:38:19 PDT 2015


On Tuesday, 28 July 2015 at 12:49:17 UTC, Atila Neves wrote:
> So I missed the boat on the lengthy Rust traits discussion on 
> the other thread. I confess I didn't have time to read all of 
> it so forgive me if I bring up something that's already been 
> said there.
>
> [...]

I went back to my copy of Adam's book and made a PR based on it:

https://github.com/D-Programming-Language/phobos/pull/3520

Doesn't require a language change and way better than the status 
quo. But still hacky.

Atila


More information about the Digitalmars-d mailing list