DIP 50 - AST macros
Dejan Lekic
dejan.lekic at gmail.com
Thu Nov 14 10:01:49 PST 2013
>
> 1. I've seen very heavy use of such macros in macro assemblers.
> What happens is people use it to invent their own (very
> baroque) language on top of the existing assembler one. Anyone
> trying to read the code has to learn this new unique language,
> and given the limitations of the macro capability, it often
> comes with unfixable bizarre corner cases and limitations.
>
Metaprogramming (almost) does the same. At least that is my
impression. Sometimes I have to go through hundreds of lines of
templated D code to understand what a single line does...
More information about the Digitalmars-d
mailing list