|
|
|
|
|
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! |
|