× {{alert.msg}} Never ask again
Codementor Office Hours  ›  Learning JavaScript: History of Asynchronous Programming in JavaScript - Session 1

Learning JavaScript: History of Asynchronous Programming in JavaScript - Session 1

  Tue, Apr 18, 10:00 AM (PST)
Video & Recap
Learning JavaScript: History of Asynchronous Programming in JavaScript - Session 1

This is going to be a series of workshops about the evolution of asynchronous programming in JavaScript and how it has allowed JavaScript as a programming language to be taken more seriously. There are some specific type of concerns when it comes to asynchronous programming which would be brought up in every step, such as:

  • Control flow primitives
  • Error handling
  • being able to cache asynchronous operations
  • and doing parallel operations.

Every single session would be based on live coding and showing the evolution of the asynchronous operations right inside the code.

Topics we are going to cover in two sessions:

First Session:

  1. Callbacks: A regular Expressjs server with routers and middlewares
  2. Promises: The same Express app transforming callbacks to promises using native Promises in Node.js

Second Session:

  1. Function generators & yield: An Express server with the same exact routes and endpoints using Function generators.
  2. Async/Await functions: Using Babel for the same example to transpile async/await syntax for our asynchronous operations.

It is also worth noting that for each step there would be a pre-written code-base on github which means I am not going to scaffold out the examples from scratch and the live coding would be on the existing code-base to prevent the talk from becoming boring.

In order to run ES2016-2017 features, to show how to set up Babel, part of our sessions also covers build systems and front-end tooling which may sound interesting for JavaScript developers.


Share this!

comments powered by Disqus
Codementor Expert
Mehran Hatami
Mehran Hatami

Javascript Developer and Front End Engineer

Hire the world's top software developers on codementorX
Get Started Now
Upcoming Office Hours
Kathryn Hodge
How to Create an Alexa Skill Part 1
with Kathryn Hodge
Thursday, Jun 8, 03:30 PM (PST)