3min chapter

Elixir Mix cover image

Benchee and Elixir 2.0 with Tobi Pfeiffer - EMx 171

Elixir Mix

CHAPTER

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.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode