News for hackers. Stuff that matters.
Re:Show HN: A JavaScript function that looks and behaves lik... by code_runner on Wednesday September 27, 2023 @07:38AM (#37673214)
Unfortunately 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.

Re:Show HN: A JavaScript function that looks and behaves lik... by keb_ on Wednesday September 27, 2023 @09:01AM (#37674017)
Tell that to Unix/FP lovers.
Re:Show HN: A JavaScript function that looks and behaves lik... by code_runner on Wednesday September 27, 2023 @10:40AM (#37675326)
hahaha i mean this implementation. piping things in the shell is great
Re:Show HN: A JavaScript function that looks and behaves lik... by keb_ on Wednesday September 27, 2023 @12:24PM (#37677061)
Ahh 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