CommunityNews

CommunityNews

A pipe operator for JavaScript: introduction and use cases

The proposal “Pipe operator (|>) for JavaScript” (by J. S. Choi, James DiGioia, Ron Buckton and Tab Atkins) introduces a new operator. This operator is an idea borrowed from functional programming that makes applying functions more convenient in many cases.

This blog post describes how the pipe operator works and what its use cases are (there are more than you might expect!).

Read in full here:

This thread was posted by one of our members via one of our news source trackers.

/js

Most Liked

joeb

joeb

If it will make JavaScript codebases easier to understand and maintain, then it is a good new feature.

Where Next?

Popular Frontend topics Top

First poster: bot
At Vouch.io, ClojureScript accelerates and radically simplifies the development of a new kind of digital key for one the largest automoti...
New
First poster: KnowledgeIsPower
Hi all, With excitement we’re sharing today that Vue.js is Wikimedia Foundation’s official choice for adoption as future JavaScript fr...
/js
New
First poster: bot
Deno in 2021. Retrospect of what happened in 2021 and what’s coming in 2022
New
First poster: bot
TypeScript and Set Theory . How does set theory help to understand type assignability and resolution in TypeScript?
New
First poster: bot
The State of WebAssembly 2022. WebAssembly has gone through quite a transformation this last year, while the wasm language landscape is ...
New
First poster: bot
So, Wasm lets you write code in the language of your choice and run it anywhere. What makes it interesting?
New
First poster: bot
Arquero. Query processing and transformation of array-backed data tables.
/js
New
First poster: bot
TypeScript Typelevel Tic-Tac-Toe: Overkill edition!. A fully functioning, dynamically sized, Tic Tac Toe Game with a UI, all on the type...
New
First poster: bot
SVGs as Elm Code. Moving SVGs out of the file system and into regular Elm code can make icons easier to manage, especially if you find y...
New
First poster: bot
Threads and messages with Rust and WebAssembly. How and why to share threads in WASM workers (and when not to)
New

Other popular topics Top

AstonJ
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
New
Rainer
Not sure if following fits exactly this thread, or if we should have a hobby thread… For many years I’m designing and building model air...
New
dimitarvp
Small essay with thoughts on macOS vs. Linux: I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
New
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1143 25883 760
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
husaindevelop
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New
Fl4m3Ph03n1x
Background Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New