Railway Oriented Programming: a functional approach to error handling

Railway Oriented Programming: a functional approach to error handling

Many examples in functional programming assume that you are always on the "happy path". But to create a robust real world application you must deal with validation, logging, network and service errors, and other annoyances.

So, how do you handle all this in a clean functional way? This talk will provide a brief introduction to this topic, using a fun and easy-to-understand railway analogy.

Code, links to video, etc., at http://fsharpforfunandprofit.com/rop

26743454d396b65db61e38ccc833ecdb?s=128

Scott Wlaschin

March 14, 2014
Tweet