Meta-programming - examples
janderson
askme at me.com
Sat Feb 10 21:14:42 PST 2007
janderson wrote:
>
> Personally I see this new mixin format as giving us the power to extend
> D in whatever way meets our goals. As Walter adds more features some of
> them will be rarely used (law of demising returns) because they are
> special case. Mixin Expressions circumvent this because now the
> programmer has the power to create the language features they need.
>
> The only downside I see is compile-time, which I hope can be solved with
> a smart caching system.
I would also like to add: Mixin Expressions allow us to experiment with
new features for the D language.
Over the course of time we may discover some privative building blocks
that are very useful. Hopefully they would eventually make themselves
into the core of the language.
-Joel
More information about the Digitalmars-d
mailing list