Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!)
Write code that writes code with Elixir macros. Macros make metaprogramming possible and define the language itself. In this book, you'll learn how to use macros to extend the language with fast, maintainable code and share functionality in ways you never thought possible. You'll discover how to extend Elixir with your own first-class features, optimize performance, and cr...more
It's often times said that books are the cheapest objects you could acquire because of all the knowledge you could get from them, and with this book that saying holds true.
This is a short but very very instructive book filled with deep practical knowledge Elixir and its code generation capabilities and an expert guide from the basics to the very advanced, step by step.
If you want ...more
Until 50% it's well understandable even for someone who doesn't consider himself Master Alchemist yet ;), but since 50% you seriously should be beyond some step to grasp it. I was _struggling_ a lot & for sure I can't say I've won, but even if macroing Elixir isn't all that natural for me & I didn't switch to functional metaprogramming with DSLs only yet, it was a very useful journey. Or rather - a frui ...more
Chris basically gives you a big block of code and have you run that code, then only explains it to you after the fact. While there's nothing really wrong with that approach, I would've liked it more if he had presented the problems of what we're trying to solve. For example, explaining the problem and why we need to use `bind_q ...more
Goodreads is hiring!
Learn more »