3 ms·
I'm excited to use the pipeline operator but I was burned when I adopted a library (https://github.com/danprince/zaphod https://github.com/danprince/zaphod) whi
by bhurlow 7y ago
I'm excited to use the pipeline operator but I was burned when I adopted a library (https://github.com/danprince/zaphod https://github.com/danprince/zaphod) which used the function bind operator only to find that lost major steam in TC39 process
- uhryks 7y agoIt really is a bummer... Pipelines look cool and straightforward but the bind operator is much more flexible and seems more adapted to the language's semantics.
- spion 7y agoWith partial application the situation is mitigated somewhat but bind offers other benefits by being a decent primitive to help explain how JS `this` works. I wonder if there is a way to revive the proposal...