| ▲ | tombert 4 hours ago | |
There was a post a few days ago about why control-flow-macros aren't that bad, and their thesis was basically "because AI can understand code well now", though I feel like that sort of missed a bigger point of "if AI can understand the code easily, what's the point of macros at all?" Even hygenic macros still end up being there primarily to increase legibility and ergonomics. Good ones, like core.async, make it easy to understand how threads and the like are glued together, but ultimately it's just syntax-sugar on steroids. If the goal is not for humans to read the code at all, I'm not entirely sure of the point of syntax macros; the LLM could just generate the expanded code. | ||