functions-library icon indicating copy to clipboard operation
functions-library copied to clipboard

[wip/rfc] Cleanup Close.io

Open sperand-io opened this issue 5 years ago • 0 comments

Dry's up the Close.io handler code considerably.

IMO, we should be demonstrating and advocating the power and concision of ES6 (of which TS is a superset, for future state...)

  • spread operators
  • template literals
  • destructuring
  • object property value shorthands and dynamic property keys

...and of more functional approaches to iteration and string/collection manipulation, such as map, reduce etc.

Generally, less branching control flow = easier to follow!

Thoughts? @markhazlett @nzoschke

sperand-io avatar Sep 23 '19 21:09 sperand-io