loading...

re: Pro tip: using Promise.then for function composition VIEW POST

TOP OF THREAD FULL DISCUSSION
re: YES! I wish more people started to use similar patterns to this usage, but I still see a lot of deferreds and new Promise() for standard promise us...
 

@shalvah this article is fantastic! I've been exploring the ergonomics of the pattern (particularly around promises) for a little while now... I wrote up an example-rich github project to outline the refactor process: github.com/justsml/escape-from-cal...

@Angel, that pouchdb article is amazing, I make all my students read it :D

Code of Conduct Report abuse