Monads, Promises, and Reactive Metaprogramming

Date:
Track:
Language:
english

Abstract

Prerequisites: having followed Federico Galassi’s or Sergi Mansilla’s talk (either is fine), or just having an idea on what rx.js does.

Javascript programmers are often struggling with asynchronous control flows. It does not matter if the sources of time warping are AJAX requests, the nodejs event loop, or a simple flow of events from the DOM: the result regularly converges to callback hell.

There are a lot of libraries and frameworks that try to address this problem now. If we don’t like them (and have time to waste) we can always wait for the ECMA committee and the browser vendors to do their job, adding proper async support to the language in the future.

We will see how monadic sequencing is at the root of most of those frameworks, and how a language with a programmable syntax can make your code cleaner now, without waiting for ES6 generators or ES7 async functions.

Tags:

Slides

stay tuned...

Video

stay tuned...

Facebook

Twitter

Sponsored by

Media Partner

Back to top