News for hackers. Stuff that matters.
Re:Pipe Operator (|>) For JavaScript by prmph on Friday January 20, 2023 @10:58AM (#34454824)
But clearly we need "that kind of programming language" for rich client web apps. We need many of the modern language constructs in such a language. Would you advocate for an entirely new language to meet that need?
Re:Pipe Operator (|>) For JavaScript by chadlavi on Friday January 20, 2023 @01:26PM (#34457422)
This is perhaps a controversial opinion, but I don't think that you need this at all to do programming. This is just syntactic sugar! Type some parentheses and move on.
Re:Pipe Operator (|>) For JavaScript by prmph on Sunday January 22, 2023 @03:32PM (#34481905)
Then we might as well give up async/await, promises, generators, recursion, null coalescing, and more.

After all, they are all “syntactic sugar”, right?