Hacker News new | ask | show | jobs
by keepamovin 994 days ago
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!
1 comments

Author here. Thanks! Yes I have to confess I have both a Scheme and Elm background ;)