Skip to content

Christopher Davis

  • About
  • Twitter
  • LinkIn
  • Github

Tag: promises

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.
  • Follow Following
    • Christopher Davis
    • Already have a WordPress.com account? Log in now.
    • Christopher Davis
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...