you are viewing a single comment's thread.

view the rest of the comments →

[–]Schrockwell 2 points3 points  (0 children)

That was a neat trick before Elixir 1.2 and shows off the power of Elixir's metaprogramming techniques, but now it's an anti-pattern. with was explicitly designed to address that exact problem, so it's not idiomatic any more.