Review: Metaprogramming Elixir - A great read for this beginner

I picked up Metaprogramming Elixir with the intent of reading it at a later time, once I had a bit more exposure and experience with Elixir.

But then I took a little peek at the first chapter and I was hooked.

Chris McCord’s clear writing style and obvious focus on reader ergonomics, e.g., repeating relevant bits of code, makes the book very readable and engaging.

Regarding content, there were plenty of moments when I thought, “Wait, we’re going to do what next?! Okay, I’ve got time to read a few more pages…”

The book introduced me to Elixir’s AST and the concept of macro hygiene, along with repeatable recipes for building DSLs and testing macros.

As an Elixir noob, I don’t think I’ll be writing my own for-real macros just yet, but I feel that I’ve gain a lot of valuable intuition about how the language works.

7 Likes

Nice review Ted!

I bought this book ages ago… just haven’t got around to reading it yet. When do you think is a good time to read this book - before/after which others?

2 Likes

Thanks!

Personally, I read it after wrapping up these two books:

Alternatively, the following would also be a fine choice before jumping into Metaprogramming Elixir:

3 Likes

Interesting! I had this on my reading list and hoped to read it further down the line, but you convinced me to bump it up in priority. :smile:

3 Likes

It’s also a surprisingly short read (roughly 100 pages). Very refreshing when most tech literature are big chunky books.

6 Likes

Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code "devtalk.com" at checkout

4 Likes