Macros Are [Not] Magic

In this book, we’ve covered a lot of ground in a short time. You’ve seen how you can construct expressions using normal Clojure programming techniques, how to get what you want from the various quoting mechanisms, and how to find out what’s going wrong with misbehaving macros. You’ve learned about a few potential downsides to macros and seen some ways you can use plain old functions to do some of the jobs that macros can do. And we’ve explored a number of the most common use cases for macros, from performance to new language features.

Your journey to Clojure macro mastery doesn’t end here, but you’re well on your way. Now it’s time to see where your new skills take you. Dig into the code for the macros in your favorite ...

Get Mastering Clojure Macros now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.