Amsterdam JSNation 2018

Callback Heaven - Andre Staltz

31st May 2018

Talk recording from Amsterdam JSNation 2018 Conference https://amsterdamjs.com

Callback Heaven

Programming with callbacks has been every JavaScript programmer's struggle since always. "Callback hell" is the reason why we have created Promises, Observables, reactive programming libraries, and other smart tools to help us avoid using callbacks directly. In this talk, we'll go beyond reactive programming and take a fresh look at callbacks. We will discover an incredible pattern among simple callbacks, that allows us to do everything that Observables or Promises or Iterables can do, and through familiar functional APIs. That pattern is fondly named "Callbags".