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
10 bad TypeScript habits to break this year. TypeScript and JavaScript have steadily evolved over the last years, and some of the habits...
New
First poster: bot
Meltano is open source, self-hosted, CLI-first, debuggable, and extensible. Today is a big day for Meltano and open source data toolin...
New
First poster: bot
Why do we need static blocks in classes? A more complicated example Details Support in engines for class static blocks Conclusion
/js
New
First poster: OvermindDL1
Rust Is The Future of JavaScript Infrastructure – Lee Robinson. Why is Rust being used to replace parts of the JavaScript web ecosystem ...
New
First poster: bot
Kotlin/JS provides the ability to transpile your Kotlin code, the Kotlin standard library, and any compatible dependencies to JavaScript....
New
First poster: bot
TypeScript and Set Theory . How does set theory help to understand type assignability and resolution in TypeScript?
New
CommunityNews
WebAssembly (wasm) allows code written in languages other than JavaScript to run on browsers. If you haven’t been paying attention, all t...
New
First poster: bot
NASA’s DART Deploys Camera Probe Ahead of Asteroid Impact. Called LICIACube, the Italian-built probe will take images of DART’s impact w...
New
First poster: bot
Chrome Browser Exploitation, Part 1: Introduction to V8 and JavaScript Internals. Web browsers, our extensive gateway to the internet. B...
New
First poster: joeb
Exploring how React’s dominance by default stifles frontend innovation, and why deliberate framework choices lead to better tools for per...
New

Other popular topics Top

Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
PragmaticBookshelf
Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
PragmaticBookshelf
Create efficient, elegant software tests in pytest, Python's most powerful testing framework. Brian Okken @brianokken Edited by Kat...
New
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
CommunityNews
A Brief Review of the Minisforum V3 AMD Tablet. Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New