News for hackers. Stuff that matters.
Re:JavaScript Just Leveled Up: ES2025 – You'll Fall in Love ... by npodbielski on Friday November 07, 2025 @02:36AM (#45844315)

   const result = data
     |> Object.entries(%)
     |> (%.filter(([k, v]) => v != null))
     |> Object.fromEntries(%)
     |> Object.values(%)
     |> JSON.stringify(%)
     |> encodeURIComponent(%);
Looks kinda awful to me. Am I strange that I prefer the 'spaghetti' version?
Re:JavaScript Just Leveled Up: ES2025 – You'll Fall in Love ... by samhh on Friday November 07, 2025 @02:38AM (#45844324)
I’ll die on the hill that the tacit pipe operator would have been the right choice. IIRC the main objections came from engine implementors.