News for hackers. Stuff that matters.
Re:TC39 Pipeline Operator – Hack vs. F# by slaymaker1907 on Tuesday September 14, 2021 @06:06PM (#28532107)
I think it's kind of ridiculous to say you can't use _ because it is a valid identifier. You could just have the pipe _ shadow the identifier _ if said id is present. I suspect the bigger reason is because of underscore/lodash being in wide use.

Suppose you had "const _ = 42; /* more code / return x | f | g(11, _);". This would be semantically equivalent to "const _ = 42; / more code */ return ((_) => g(11, _))(f(x))". Since it is a new function, shadowing is not forbidden.

Re:TC39 Pipeline Operator – Hack vs. F# by junon on Tuesday September 14, 2021 @06:22PM (#28532292)
I'm not the one saying it, check #92 I believe it is. The bike shedding thread. They don't want to shadow.