3 ms·
Pipes and pattern matching have been proposed to JS. https://github.com/tc39/proposal-pipeline-operator https://github.com/tc39/proposal-pipeline-operator http
by tacotacotaco 4y ago
Pipes and pattern matching have been proposed to JS.
https://github.com/tc39/proposal-pipeline-operator https://github.com/tc39/proposal-pipeline-operator
https://github.com/tc39/proposal-pattern-matching https://github.com/tc39/proposal-pattern-matching
- gherkinnn 4y agoAs much as I like these concepts, I'd be hesitant about adding them to the language. At what point does a language support too many paradigms? In contrast, take the recently stage-3'd Iterator Helpers[0]. These build on top of the language by using methods that already exists in other parts. It feels natural and is more of the same. 0 - https://github.com/tc39/proposal-iterator-helpers#implementations https://github.com/tc39/proposal-iterator-helpers#implementa...