2 ms·
> The point of a macro is to make some idea clearer to understand by way of syntax. The question I think is clearer for who? Macros, as all abstractions, seem
by Zababa 5y ago
> The point of a macro is to make some idea clearer to understand by way of syntax.
The question I think is clearer for who? Macros, as all abstractions, seem to be a way to make the expert faster at the expense of the beginner. Lisp is probably better at avoiding accidental complexity coming with it, but I don't think it avoids complexity entirely.
- kazinator 5y agoThe way to settle this, at least for a given macro or macros, is to bring the expert and beginner together, and have both of them examine the macro calls, their documentation, and a version of the code in which the macro calls have been replaced by their hand-written expansions.