3 ms·
Macros don't get written very often. Some Lispers (e.g.: Clojurists) advocate against solving problems with macros (if they can be solved with regular functions
by iLemming 7y ago
Macros don't get written very often. Some Lispers (e.g.: Clojurists) advocate against solving problems with macros (if they can be solved with regular functions). However, at the end of the day, macro or a function - data remains data. In non-lispy languages syntax often complects meaning and order.
- lispm 7y ago> Macros don't get written very often. It's not how often you write macros. Just write ten macros -> ten syntax extensions. The Common Lisp implementation I use has around 700 predefined external macros. > against solving problems with macros (if they can be solved with regular functions). It's just that macros are for different things and for those are widely used in Lisp.