Mixin versus c++ preprocessor?

Tom S h3r3tic at remove.mat.uni.torun.pl
Fri Mar 21 19:41:59 PDT 2008


Tim Burrell wrote:
> 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.

It's not like a preprocessor could not be used separately... It might 
not be standard, D-wise, but most non-trivial software has a complex 
build process.

Preprocessing a single specific file in a project is much lesser a sin 
than including a standard preprocessing stage in the compiler, IMHO.


-- 
Tomasz Stachowiak
http://h3.team0xf.com/
h3/h3r3tic on #D freenode


More information about the Digitalmars-d-learn mailing list