Metaprogramming—An Essential Feature

Metaprogramming is a must on my list of language requirements. It puts you in control to extend the language to suit your project’s needs and lets you write powerful libraries that would be otherwise impossible. I have a strong web development background, and when I started with Elixir, I immediately realized how well suited it would be for a web framework. Phoenix[1] was born out of the realization that I could have the best of both words in a web framework: a language that makes it a joy to write applications, with a runtime that is fast and scalable. With Elixir, Phoenix doesn’t have to choose between productivity and scalability. Metaprogramming gives us both.

This book distills the lessons and insights ...

Get Metaprogramming Elixir 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.