The Company
Mike McNeil
@mikermcneil
open-source MVC framework for Node.js
creator of
Slide 4
Slide 4 text
❌ error ling
@mikermcneil
Slide 5
Slide 5 text
Everyone has this problem.
Slide 6
Slide 6 text
Overly complex async logic
Usually, you don't need this. Even at high
scale, there are other, much more
immediately-relevant performance and
scalability bottlenecks.
Slide 7
Slide 7 text
Swallowing
Slide 8
Slide 8 text
Dealing w/ upstream services
3rd party APIs, servers maintained by
other other internal teams
☁
Slide 9
Slide 9 text
the code
Slide 10
Slide 10 text
What's wrong with
try/catch?
Slide 11
Slide 11 text
What's better than
try/catch?
Slide 12
Slide 12 text
…in a Sails app
Slide 13
Slide 13 text
…in vanilla JavaScript
Not using Sails?
You can actually use the same
approach, even in vanilla JavaScript.