News for hackers. Stuff that matters.
Re:Pipe Operator (|>) For JavaScript by nerdponx on Friday January 20, 2023 @10:47AM (#34454648)
My pet theory:

Front-end devs are generally stuck with JS, but they wish they were able to use other languages, but they can't, and can't convince their managers to use Clojurescript or Purescript, so this is what happens.

What's bonkers to me is that ECMA would prefer to keep adding features like this instead of adding a macro system.

Re:Pipe Operator (|>) For JavaScript by eddsh1994 on Friday January 20, 2023 @11:14AM (#34455164)
JavaScript with macros? Please please no. Can you imagine that?
Re:Pipe Operator (|>) For JavaScript by yakshaving_jgt on Friday January 20, 2023 @08:48PM (#34462927)
I'm not buying that theory. I'd love if more front-end developers were eager to use PureScript or Elm, but popular sentiment appears to be that anything other than JavaScript is weird or hard or impractical or unreadable.