|
|
|
|
|
by rlander
1989 days ago
|
|
IME it is. Many Elixir apis end up forcing an unnatural parameter order just so that the entire body can be piped through. Clojure is way more consistent in this regard: - thread first (->) when operating on maps.
- thread last (->>) when operating on sequences.
- as-> "choose your own adventure".
|
|
The only place where pipe order bristles is Enum.reduce, but I'd bet if I counted I'd have wanted it the normal way more often than the backwards way.