DEV Community

Discussion on: Is functional programming in JS really worth it?

Collapse
 
ahferroin7 profile image
Austin S. Hemmelgarn

Quite so. I’m obviously not used to writing pipes all on one line in Elixir (though that kind of makes sense, as the main places where this gets used are longer sequences of calls with multiple arguments to the individual functions, and there it’s preferred to have a newline before each pipe operator and have them all lined up under the initial value being operated on).