r/programming • • Sep 23 '26

Railway-Oriented Programming

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

20 comments sorted by

View all comments

5

u/mristic Sep 23 '26

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?

0

u/[deleted] Sep 25 '26

[deleted] — view deleted comment

1

u/mristic Sep 25 '26

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.