Skip to content

Christopher Davis

  • About
  • Twitter
  • LinkIn
  • Github

Tag: promise

Promises are Not for Control Flow

September 20, 2018 Christopher Davis
JavaScript Promises are No for Control Flow

Common advice in languages with exceptions is that exceptions are not for control flow. A rejected promise is not any different than a thrown exception: in both cases something when exceptionally wrong and must be dealt with. This week I was fighting with promises while building a slack app because I was attempting to use… Continue reading Promises are Not for Control Flow →

Posted in JavaScriptTagged promise, promises
Blog at WordPress.com.
  • Subscribe Subscribed
    Christopher Davis

    Have a WordPress.com account? Log in now.

  • Christopher Davis
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar
Loading Comments...