clojure
clojure copied to clipboard
when to use macros
macros > functions > data in power and expressivity and this also means macros < functions < data in our ability to reason about them. Also, macros aren't values like functions and data are, making them less composable.
Other references https://blog.brunobonacci.com/2015/04/19/dead-simple-introduction-to-clojure-macros/