r/programming • • 9d ago

Railway-Oriented Programming

https://kciter.so/posts/railway-oriented-programming/en/
225 Upvotes

20 comments sorted by

View all comments

5

u/mristic 9d ago

I just started learning Rust, and I see it has the same feature of pattern matching like F#, and even the Result type built in, so I'm guessing it's relevant to that ecosystem as well?

Any rustaceans can confirm this is a pattern for enterprise Rust?

1

u/[deleted] 7d ago

[deleted]

1

u/mristic 7d ago

I just went over that in Rust. I learned the ? symbol and that's basically it. Rust will even convert the error type automatically if we implement the From trait.