3 ms·
> "these transformers were never exposed a la carte, instead being encapsulated by the macrology of reducers." What does 'macrology' mean in this context? Is t
by nohat00 12y ago
> "these transformers were never exposed a la carte, instead being encapsulated by the macrology of reducers."
What does 'macrology' mean in this context? Is this a common usage? Or a novel application of a word that ordinarily means "long and tedious talk without much substance"
- prospero 12y agoIt means that reducers were some macro sugar atop the underlying mechanism described in the post. See https://github.com/clojure/clojure/blob/master/src/clj/clojure/core/reducers.clj#L139 https://github.com/clojure/clojure/blob/master/src/clj/cloju...
- nohat00 12y ago... so 'macrology' means "use of macros" rather than "long and tedious talk without much substance"? Is this usage specific to Clojure, or to all languages that have macros? It seems like a pretty bizarre repurposing of a word that already has a very different meaning, and I wonder how widespread it is. Are we too late to stop it?
- mikeash 12y agoIt applies universally and you're probably decades too late to stop it. http://www.catb.org/jargon/html/M/macrology.html http://www.catb.org/jargon/html/M/macrology.html
- e12e 12y agoWell, it's the use of macros to avoid having to write code that has the characteristics of macrology. If nothing else, it's sort of strangely recursive, like perhaps many "complex macros" are...