Eliminate that Extra Function
You know how you can skip the ceremonial function wrapper in JS?
// chump
blah.map(x => do_alteration(x))
// pro
blah.map(do_alteration)
I just found out you can do that with Elixir, even with the capture operator.
# jabroni
Enum.map(blah, &(do_alteration(&1)))
# Ford Prefect
Enum.map(blah, &do_alteration/1)
Thanks, Christopher Eyre!