Broken Promises
When a customer comes to us with a complaint that their code is running slowly, our first question has become, "Are you using Promises?". When they predictably tell us yes, our response has become, "You're likely using them wrong".
In this talk, we'll discuss the various ways Promises are abused. We'll talk about why that ends up needlessly slowing Node.js applications down. And we'll talk about how to use Promises correctly, the way they were intended to be used.
Expect code, opinions, and colorful charts.
EVENT:
NodeJS Interactive 2019
SPEAKER:
James Snell, NearForm
PUBLICATION PERMISSIONS:
The Linux Foundation provided Coding Tech with the permission to republish NodeJS Interactive talks.
CREDITS:
Original video source: https://www.youtube.com/watch?v=XV-u_Ow47s0
****
INTERESTED IN THE STOCK MARKET?
I developed a profitable trading model that generates high probability BUY & SELL signals on S&P500. To learn about it, visit https://yuriymatso.com/sp500-model/
Other Videos By Coding Tech
2020-01-06 | Intro to Kotlin Multiplatform |
2020-01-06 | Publishing (Perfect) Python Packages on PyPi |
2020-01-05 | How To Read (Code) |
2020-01-04 | Stream Into the Future (NodeJS Streams) |
2020-01-02 | Do You Want To Build A Forest? || Thomas J Fan |
2020-01-02 | Crafting Stateful Styles |
2020-01-01 | Untitled12.ipynb: Prevent Miles of Scrolling, Reduce the Spaghetti Code from the Copy Pasta |
2019-12-31 | Regular Expressions: My Secret Love |
2019-12-29 | The Pragmatic Front End Tester |
2019-12-29 | Typography and Variable Fonts |
2019-12-27 | Broken Promises |
2019-12-26 | Building Realtime Serverless APIs with GraphQL and Azure |
2019-12-25 | Top 10 Frustrations for Web Developers and Designers |
2019-12-24 | Microservices: A Retrospective |
2019-12-23 | Electron Desktop Apps With JavaScript |
2019-12-22 | Develop, Debug, Learn |
2019-12-21 | The Art of Code |
2019-12-20 | Machine Learning Crash Course || Samuel Taylor |
2019-12-19 | Angular, React, Vue and Co: Web Components and Mini Apps |
2019-12-19 | Into WebAssembly |
2019-12-18 | Objectionable Content (Python Object Model) || James Powell |