Skip to content

Remove pipeline operator#5394

Merged
sideshowbarker merged 1 commit intomdn:mainfrom
ddbeck:remove-pipeline-docs
May 28, 2021
Merged

Remove pipeline operator#5394
sideshowbarker merged 1 commit intomdn:mainfrom
ddbeck:remove-pipeline-docs

Conversation

@ddbeck
Copy link
Contributor

@ddbeck ddbeck commented May 27, 2021

What was wrong/why is this fix needed? (quick summary only)

The pipeline operator (|>) appears to be going backwards in terms of acceptance. This PR redirects the page to the parent operators page, then removes the content.

MDN URL of the main page changed

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Pipeline_operator

Anything else that could help us review it

Firefox removed the prototype: https://bugzilla.mozilla.org/show_bug.cgi?id=1708546

BCD is removing the all-false data for this feature: mdn/browser-compat-data#6957 (comment)

Now that we're in git, I imagine it will be easy to recover this should the proposal be revived.

This appears to be going backwards in terms of acceptance. For example:

https://bugzilla.mozilla.org/show_bug.cgi?id=1708546

We're headed toward dropping it from BCD. See:

mdn/browser-compat-data#6957 (comment)
@ddbeck ddbeck requested review from a team as code owners May 27, 2021 16:03
@ddbeck ddbeck requested review from Rumyra and removed request for a team May 27, 2021 16:03
@sideshowbarker sideshowbarker merged commit 49d8803 into mdn:main May 28, 2021
@ddbeck ddbeck deleted the remove-pipeline-docs branch May 28, 2021 11:13
@js-choi
Copy link
Contributor

js-choi commented Jun 2, 2021

The pipeline operator (|>) appears to be going backwards in terms of acceptance

To clarify, the pipe-operator is no longer going backwards, but it has been in flux (there are at least three competing syntax proposals, as summarized by @tabatkins), and it had indeed stagnated between 2019 and 2020 due to that syntax deadlock and also to flagging browser-vendor interest.

However, after the State of JS survey of 2020 published last January that its fourth top answer to “What do you feel is currently missing from JavaScript?” was the pipe operator, and after @tabatkins published his essay, then TC39’s interest in the proposal revived. @littledan presented about it again in March, after which its TC39 champion switched to @tabatkins.

I do think it is a good idea to remove documentation about the pipe operator from MDN until its proposal(s) advances further and its syntax settles more. It is certainly still in great flux. But its future at least now looks somewhat brighter than it had been in 2020.

@ddbeck
Copy link
Contributor Author

ddbeck commented Jun 3, 2021

@js-choi Nice to see that work on the proposal continues. Thank you for this update!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants