Last night I went on a very small rant about the pipeline operator, |>, coming to JavaScript. Thought I'd boil it down to one of my little lessons in an image. Let me know what you think!pic.twitter.com/Rquh188LzH
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Woah, what? So if I'm reading this right, the pipeline operator goes from right to left? myData |> foo |> bar |> baz is equal to: foo(bar(baz(myData))) That's... unexpected.
you're reading that wrong, functions go the other way.
I never change how the functions are nested, that's the key to the image.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.