Elixir Mix cover image

Benchee and Elixir 2.0 with Tobi Pfeiffer - EMx 171

Elixir Mix

00:00

The Limitation of Recursive Runtime Macros

I'm not sure if people should be allowed to write code that writes more code infinitely. I want people to be able to, which is one of the things that I like about function programming in the sense that it limits your choices. In Ecto, the schema DSL, you can make it recursive by accident. So inside a field, you can call in the macro because it evaluates the field in a different context. It's also common pitfall in that structs are maps, which, you know, it's also like a road a deep merge library for Benchy.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app