← Graph

Railway Oriented Programming

concept 5 connections

Pattern from Scott Wlaschin (F#/.NET community) in which business logic is modeled as two parallel tracks: a successful ('upper') track and an error ('lower') track. Steps execute left-to-right on the success track; any failing step diverts execution to the error track, which short-circuits remaining success steps. Can be generalized to many tracks and many steps. Inspired Trailblazer 2.0's step DSL.

category
pattern
about
Railway Oriented Programming concept
Cited as the inspiration for Trailblazer 2.0's two-track step DSL.
person Nick Sutterer
has_skill
Railway Oriented Programming concept
Trailblazer's step DSL — which Reform 3 now uses — is directly inspired by Railway Oriented Programming.
level: expert
concept Railway Oriented Programming
related_to
Pattern popularized by Scott Wlaschin in the F#/.NET community.
uses
Railway Oriented Programming concept
Trailblazer 2.0 step DSL is directly modeled on Scott Wlaschin's Railway Oriented Programming.
tool step gem
uses
Railway Oriented Programming concept
step composes endpoints as railway-oriented pipelines of steps with sub-pipelines

Provenance

Read by
13 extractions