Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sebdd
· 9y ago · 0 comments
Wouldn't a pipeline operator [1] be a more interesting solution for this instead of adding syntax that relies on the `this` keyword?
[1]
https://github.com/mindeavor/es-pipeline-operator
Comments
[–]
qwertyuiop924
9y ago
No. Pipelining is handy, but not necessary. This binding is a well-known pain point in JS.
[–]
the_gipsy
9y ago
Yes! Elm has it and it's very nice.