The JavaScript Pipeline Operator
yanis.blog
The JavaScript Pipeline Operator
1–10 of 63 posts
Re: The JavaScript Pipeline Operator
#2Re: The JavaScript Pipeline Operator
#3rxjs is already available and allows to perform chained transformations by using wide variety of methods.
Re: The JavaScript Pipeline Operator
#4Re: The JavaScript Pipeline Operator
#5ES6 was needed, but I think js should hit the breaks for new language features for a while.
Re: The JavaScript Pipeline Operator
#6rxjs is already available and allows to perform chained transformations by using wide variety of methods.
Good point. I've heard about it but never could quite understand if it's useful enough. Can you share some public repos where it's being used?
Re: The JavaScript Pipeline Operator
#7His lodash and pipeline operator version looked more noisy than the lodash only version.
Re: The JavaScript Pipeline Operator
#8Why you need operator? Can't it be done with a function?
pipe(64,Math.sqrt)Re: The JavaScript Pipeline Operator
#9Re: The JavaScript Pipeline Operator
#10>The difference is in how we read it. With pipeline operator data flows from left to the right, and thus making it much more comprehensible without the need to introduce extra variables. Why you need operator? Can't it be done with a function? pipe(64,Math.sqrt)