News for hackers. Stuff that matters.
Re:TC39 Pipeline Operator – Hack vs. F# by Zababa on Tuesday September 14, 2021 @06:09PM (#28532136)
> Why would I be more likely to mutate state in sending a message to an object than I would be applying a procedure to a struct?

I think most people don't think about objects in terms of sending a message to them, but in terms of calling a method on them. OOP in JS, currently, revolves a lot around mutable objects. JS itself revolves a lot around mutability. Some people are trying to change that, at least by getting proper support for the alternative. The pipeline operator is part of that.

There are no comments on this comment yet.