Episode 1 - Callbacks vs. Generators

Node.js is great for many reasons:

  • It is fast¬†because of V8
  • It is efficient because of the libuv/event loop
  • Over 100,000 open source packages available
  • Great Package Manager - NPM
  • Huge vibrant community
  • ...

However there is one thing I don't like about programming in node: callbacks.

Callback functions makes simple things complicated.

Now there is a new options: Generators which will make your life much easier.

Checkout this video that shows you a callback solution that gets converted to generators.

‚Äč