Railway Oriented Programming in Elixir with Pattern Matching on Function Level and Pipelining
Coding seems cool without error checks, does not it? When if/else checks effect the next execution behaviors, then the code becomes a mess. Luckily, there is a pattern called ‘Railway Oriented Programming’ for error handling.