News for hackers. Stuff that matters.
Re:TC39 Pipeline Operator – Hack vs. F# by abecedarius on Tuesday September 14, 2021 @06:31PM (#28532395)
That's more specialized: it can express

    foo(42, ?)
but not what you'd write within this pipe syntax as

    foo(42, ^) + 1
The tradeoff is that it doesn't need some extra delimiter since the function call is what delimits it. Perhaps that's a better tradeoff, I'm not sure; but for sure we shouldn't have both.

There are no comments on this comment yet.