News for hackers. Stuff that matters.
Re:Show HN: A JavaScript function that looks and behaves lik... by keepamovin on Wednesday September 27, 2023 @09:06AM (#37674092)
This is cool, I love JS syntax hacks. Well done!

  const { status } = await send(capitalize(greeting) + "!")
  console.log(status)
I find that easy to read, and your pipe operator harder (but still sensible!). I guess that just reflects the backgrounds we come from, people from more functional backgrounds (maybe lisp or Haskell) will find the latter example easier I guess!
Re:Show HN: A JavaScript function that looks and behaves lik... by FroLeMageBlanc on Wednesday September 27, 2023 @09:21AM (#37674287)
Author here. Thanks! Yes I have to confess I have both a Scheme and Elm background ;)