[phobos] AutoImplement: Shouldn't it be a mixin template?

SK sk at metrokings.com
Tue Sep 7 23:07:41 PDT 2010


On Tue, Sep 7, 2010 at 8:54 PM, David Simcha <dsimcha at gmail.com> wrote:
>  The AutoImplement functionality in std.typecons is currently a class.  This
> severely and unnecessarily limits its usefulness in the following cases:
>

Hi - Being poorly versed in mixins, I mentally picture the mess of
preprocessor macro abuse.  Are mixins going to make phobos in this
case easier to reason about and debug?  Do I ever get to see (and step
though) the source that actually got compiled?
I'd like to feel better that mixins are on *much* friendlier turf than macros.

This probably belongs on the d.learn list, but this has been bugging
for a while and you provided this opportunity to blurt out.  :^)


More information about the phobos mailing list