DIP 50 - AST macros

bearophile bearophileHUGS at lycos.com
Mon Nov 11 07:20:52 PST 2013


Jacob Carlborg:

> AST macros are drawing so much attension. For some, it's like 
> the holy grail.

That's a bad approach to technology design. You first need to 
create a good list of things that you want to do, then you have 
to try to do them without new features, and then if something 
important is not possible without the new feature (or it becomes 
too much ugly, too much long, too much bug-prone, etc), you have 
to see if the complexity of introducing the new feature is paid 
back. Macros are a significant feature, so they have a 
significant cost in code complexity, language dis-uniformity, ecc.

Bye,
bearophile


More information about the Digitalmars-d mailing list