News for hackers. Stuff that matters.
Re:All I Want for Christmas Is These Seven TypeScript Improv... by jonwest on Sunday December 25, 2022 @11:24PM (#34134571)
I’m admittedly not primarily a TS dev, but I agree with your points completely. Even though you’re reading the piped functions right to left, and most code is going to be read from left to right, in order for a parameter to be passed like a value it’s gotta be computed.

If I’m solving a math equation, I know that I need to follow the order of operations—I don’t need to rewrite the equation in an entirely new way. It’s more intuitive for me, at least, to wrap my head around the current approach.

Re:All I Want for Christmas Is These Seven TypeScript Improv... by bigDinosaur on Monday December 26, 2022 @03:44AM (#34135891)
It takes about thirty seconds to become used to writing nested function calls as a pipe - it's purely syntactic sugar. It's not what I'd call an 'entirely new way' in the sense that changes nothing about evaluation order or anything like that.