4 ms·
If you read all the text, it seems like the entire repo is intended to be a satire on https://github.com/tc39/proposal-pipeline-operator https://github.com/tc39
by gnfargbl 3y ago
If you read all the text, it seems like the entire repo is intended to be a satire on https://github.com/tc39/proposal-pipeline-operator https://github.com/tc39/proposal-pipeline-operator.
- code_runner 3y agoUnfortunately I’m not getting satire vibes from that blurb. I’m only more scared for JavaScript. I love JavaScript but this pipe thing is horrific.
- toastercat 3y agoTell that to Unix/FP lovers.
- code_runner 3y agohahaha i mean this implementation. piping things in the shell is great
- toastercat 3y agoAhh OK. Yeah, I always find trying to shoehorn language semantics via functions to be kinda awkward. The best attempt I've seen is this addition of async/await to Lua, which actually looks pretty usable [1]. [1] https://github.com/ms-jpq/lua-async-await https://github.com/ms-jpq/lua-async-await
- jeroenhd 3y agoIs it? I think it's an implementation of the pipe operator rather than satire of it. Javascript doesn't provide the flexibility to extend the language with pipe operators (though tools like Babel will let you use the pipe operator already). The clunky syntax removes all the benefits of the pipe operator. The entire thing is syntactic sugar, wrapping it in confusing functions just breaks the entire concept.
- pwdisswordfishc 3y agoSo what exactly does it satirize?