Too many operators can become quite confusing, having worked with many functional languages I find the number of operators more of a hinder than help. I’m very pro functional operators when they help me read the code explicitly rather than implicitly, for example with the `|>` pipeline operator, this helps you to read the code in the order of execution. With the current `|>` operator proposal you could write something similar with:
`const sum = numbers |> (numbers) => reduce(numbers, (a, b) => a + b);`
Passing numbers to an anonymous closure so you can have multiple arguments works quite elegantly.
es-discuss mailing list
|Free forum by Nabble||Edit this page|