4 ms·
Generally I agree, but I've found it hard to parse macro logic in projects that I am not familiar with. I've written a project that uses macros heavily as well
by emerongi 7y ago
Generally I agree, but I've found it hard to parse macro logic in projects that I am not familiar with.
I've written a project that uses macros heavily as well and it's hard to make it easy to understand.
It's a double-edged sword. Macros are nice and can simplify the top-level API significantly, but at the same time they add complexity under the hood.
- dnautics 7y agoThe biggest sin is that it's too fun to write macros in elixir.