Mixin versus c++ preprocessor?

bearophile bearophileHUGS at lycos.com
Fri Mar 21 13:31:48 PDT 2008


Tim Burrell:
> Mixins are great, but in no way a replacement for the C preprocessor.  I 
> think it was a big mistake to not include preprocessing as well.

The C preprocessor is powerful, but it's a source of many problems too. I presume that D AST macros will solve most of those problems (and they will create other problems: macros are a Pandora's jar).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list