I want to add a Phobos module with template mixins for common idioms.

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon May 6 12:57:27 PDT 2013


On 5/6/13 3:14 PM, Idan Arye wrote:
> Template mixins can be used to implement some common programming
> idioms(and design patterns). I have already implemented two of them for
> my own project - and I want to make them into a Phobos module - maybe
> `std.mixins`.

Nice idea, but at the first level of detail (without looking into it) 
the title should not be dictated by implementation artifacts, i.e. we 
don't have modules such as "std.templates" or "std.structs" etc. 
Conversely, if you implement a pattern via other means than a mixin, 
you're in trouble :o).

Andrei


More information about the Digitalmars-d mailing list