3 ms·
Yeah. It's super tempting to use macros for inheritance (and there are some anointed frameworks that even encourage that -- I'm looking at you ExUnit), but I t
by dnautics 5y ago
Yeah. It's super tempting to use macros for inheritance (and there are some anointed frameworks that even encourage that -- I'm looking at you ExUnit), but I think that is the wrong way to think of macros.
The codebase I work on at work is littered with this antipattern, but I grin and bear it because elixir is such a joy to work with otherwise.