News for hackers. Stuff that matters.
Re:DRYing Elixir Tests with Macros by rozap on Wednesday February 17, 2016 @01:06PM (#11119841)
Agreed. Elixir's first rule of macros is to not use macros. Generally idiomatic elixir is to try to encapsulate your problem in (ordered by priority) a 1) data structure 2) function 3) macro. So if you can express your problem in something other than a macro, do so.

There are no comments on this comment yet.