First of all, this might very well be a ramble without much sense, but please
bear with me.
Secondly, I’m writing this first and foremost not as an application programmer.
Having programmed in the crud-application business some twenty years
professionally, the last couple of them in Clojure, the
Macros allow for experimentation in language design, not only by third
parties, but also by the developers of the language themselves. If you have
an idea for some new piece of syntax, it can be tried out in a library
first.
Macros are also useful for precompiling code for performance. If you have
I agree Erik, macros and the dsl idea are edge cases imho. Having written
clojure for 4 years now (and with 30 as a professional developer) I’ve only
written a few macros and they were for very specific use cases where I wanted
to support something specific.
I think they are over-hyped feature
I like Eric Normand's take here:
https://lispcast.com/magical-leverage-languages/
On Sun, Apr 28, 2019 at 9:46 AM wrote:
> I agree Erik, macros and the dsl idea are edge cases imho. Having written
> clojure for 4 years now (and with 30 as a professional developer) I’ve only
> written a few macro