AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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.