Flow Control in JavaScript is hard! Native Promises in JavaScript have helped immensely, but the syntax is still a little callback-y. With Async + Await, we can write synchronous looking code without losing any of the benefits of JavaScript’s asynchronous nature.
Wes Bos explores how async + await works, best practices for flow control, and explores several solutions for handling errors.
Filmed at https://2017.dotjs.io on December 1st in Paris.
You can follow Wes Bos on Twitter: https://twitter.com/wesbos
This talk is under the creative commons license. freeCodeCamp is not associated with this talk. We’re just excited to bring more exposure to to it!
—
Learn to code for free and get a developer job: https://www.freecodecamp.com
Read hundreds of articles on programming: https://medium.freecodecamp.com
And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp
Original source
21 responses to “Async + Await in JavaScript, talk from Wes Bos”
brilliant
Thanks a lot wesbos
6:18 that's the way to enjoy coding 🙂 — Chick
that intro could probably pop a speaker… it is horrible sound 🙁
great
This guy cannot really code, but can read
gotta love that Cobalt2
The fonts of the code is awesome,what kind of the font is ,who knows?
One of the best JS teachers
Wicked
This is the best async await video to this day, I'm not even exaggerating.
Very nice
Thanks Wes!
Amazing talk, I really like async / await but the error handling seems too ugly to me so generally I prefer promises
Amazing!!! try catch blocks was bothering me… you just saved my day!!! thanks!!!
Loved the express bit. Thanks!
This is exactly what I needed to learn today! Thank you!
Wow wesbos yay! I just realized this was almost 4 months back! Damn I've come so far with JS already
Great to have Wes Bos for a talk!
Thank you! Nice speech!
Very good!