Metaprogramming Elixir: Book Review

August 18, 2018 • 1 minute read • @mitchhanbergAnalytics
Cover of the book Metaprogramming Elixir

Metaprogramming Elixir

By Chris McCord

ISBN: 978-1-68050-041-7

Recommendation: A Must Read

Who is the target audience?

Advanced beginner to intermediate Elixir developers who have mastered the syntax and basic structure of Elixir applications who want to add advanced language features to their skill set.


Chris McCord (creator of the Phoenix Framework) introduces you to the power of macros with the Elixir programming language.

This book (a member of the Pragmatic exPress series) is short and to the point. If you're reading this book, you probably are interested in the practical application of macros and metaprogramming, and this book delivers.

Metaprogramming Elixir guides you through the basics of defining macros, but quickly dives into best practices and how you can use these techniques to improve your real life code.

In addition to showing you when it's most appropriate to utilize a macro, Chris teaches you how to test macros and what aspects of metaprogramming are worth testing. As a practitioner of Test Driven Development, I find this incredibly valuable.

I thoroughly enjoyed this book and will definitely be referencing it in the future.

If you want to stay current with what I'm working on and articles I write, join my mailing list!

I seldom send emails, and I will never share your email address with anyone else.