3 ms·
Using the pipe operator in Elixir is very nice, even more so for building up complex multi operations and such
by dijkstra_j 2y ago
Using the pipe operator in Elixir is very nice, even more so for building up complex multi operations and such
- legacynl 2y agoExactly. It also massively improves readability by reordering the code to match the order of operations. Also long nested chains of function calls make it so the arguments for each call get spread out, so your eyes have to go back and forth to determine what function receives what.