Railway-Oriented Programming (2015)
What I found interesting is that if you have a pipe&#x2F;filter architectural style, your happy path stays completely free of error handling, because when a filter doesn&#x27;t have a good result, it just doesn&#x27;t pass any data to the next filter in line. Done!<p>You can then centralize the error handling by having a &quot;stderr&quot;-like output on your filters.<p>When you have a call&#x2F;return architectural style, you need to return something, and thread the result along, so you need to do something more complex like this pattern.