
Metaprogramming Elixir
by Chris McCord · first published 2015
4mentions
3recommended by
4HN commenters
2015–2021first – last mentioned
75% recommend25% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
…knowing how to write them is a good thing. I typically use macros to write more expressive guard clauses, but you can do whatever you want with them. Chris McCord wrote an excellent book on macros, called Metaprogramming Elixir, if you want to know more about them.
on “Recursive Anonymous Functions in Elixir: Combinators and Macros” ↗It’s too early for you to try metaprogramming. It has very simple rules but proficiency with the language is advised when diving into macros. You might want to read Chris McCord’s “Metaprogramming Elixir”. The author is also one of Phoenix’s authors.
on “Under the Hood of Macros in Elixir” ↗Phoenix's author Chris McCord wrote an excellent book on metaprogramming in Elixir: https://pragprog.com/book/cmelixir/metaprogramming-elixir
on “Elixir v1.3 released” ↗…http://elixir-lang.org/getting-started/sigils.html And of course the macro facility is pretty much the ultimate definition of Ruby's oft-touted "metaprogramming." Chris McCord already has a book out on it, actually: http://smile.amazon.com/Metaprogramming-Elixir-Write-Less-Co...
on “Elixir – The next big language for the web” ↗