There is probably a lens through which arranging train tracks in a toy train set is programming
Conversation
Some F# people use “Railway Oriented Programming” as a way to describe monadic error handling:
1
5
(I think it's a pretty sweet analogy!)
1
1
This is using conveyor belts, but still seems kind of related?
Also yeah, railroad diagrams for describing context-free grammars:

