Exceptions as the Exception - Rediscovering Error Handling

Edgar Cabrera
Chief Backend Engineer/FP Enthusiast

For programmers coming from an imperative or OO background, exceptions are allowed (or even encouraged) to be used for control flow. This leads design fallacies that make systems hard to reason about.

In this talk, basic error handling idioms in Erlang are contrasted with Exceptions, then moving to the bigger picture of supervision trees and why do we mean by "let it crash".


Electrical Engineer by education, Software Engineer by profession.

I've spent the last 4 years of my life studying two things: Functional Programming (SML, Scheme, Haskell, Erlang, Clojure, Scala; I love them all!) and distributed systems (which is of course why I love Erlang and Elixir).

I've found that there's nothing inherently academic in FP; it's full of very practical ideas that can help you become a better programmer and I'm eager to share them with the world.


GitHub: aleandros

Twitter: @aleandros

Back to conference page