News for hackers. Stuff that matters.
Re:Pipelining might be my favorite programming language feature by hinkley on Monday April 21, 2025 @01:45PM (#43754502)
All of their examples are wordier than just function chaining and I worry they’ve lost the plot somewhere.

They list this as a con of F# (also Elixir) pipes:

    value |> x=> x.foo()
The insistence on an arrow function is pure hallucination

    value |> x.foo()
Should be perfectly achievable as it is in these other languages. What’s more, doing so removes all of the handwringing about await. And I’m frankly at a loss why you would want to put yield in the middle of one of these chains instead of after.

There are no comments on this comment yet.