Encuentros
>
>

Functional Programming Madrid - Decomplecting application logic and error handling

Monday 20 April 2015, 19:00 - 20:00

C/La botánica 4, 1º, Madrid, España

It is common to intertwine error handling together with the logic of our application, often obscuring what we're trying to express. Furthermore, there are many approaches to error signaling and handling: exceptions, nil and errors as values being the most prevalent. The problem is that such approaches do not compose well and add noise to the programs we write. In this talk we'll explore an alternative based on error types that can be used when consuming code that uses a different strategy and lets us separate error handling from the logic, allowing us to compose computations that may fail in a straightforward and clear way. We'll look at examples ranging from HTTP servers to asynchronous code using core.async (supercharged with error handling capabilities), both in Clojure and ClojureScript.


This will be a evolution of a previous talk: http://www.meetup.com/FP-Madrid/events/210532702/


We (Andrey and Alejandro) intend to propose this talk to EuroClojure, so it'd be nice to receive feedback on how to improve/clarify it.

Más información

Publicado por: Miquel Camps