What's Railway Oriented
Programming?

What's Railway Oriented Programming?

The Railway Oriented Programming is a functional approch to error handling . This name was coined by?Scott Wlaschin.

So What do we do with it ?

  • Handling errors
  • creating pipelines
  • Push error handling to where it belongs
  • Control flow over exceptions

what's the benefit of it ?

  • Authenticity: Each function will always yield a failure or a success
  • Clarity: It’s very easy to apply, and it’s also quite lucid. It does not require you to implement any special features
  • Compatibility: Each function (or task) that is connected by composition is compatible. That means each function is a black box and does not disturb the next function during maintainability by the developer

How can i get more information about it??

check the links :

Scott Wlaschin talk : https://vimeo.com/113707214

https://blog.logrocket.com/what-is-railway-oriented-programming/

Thanks for reading



要查看或添加评论,请登录

ZOGHLAMI Aymen的更多文章

社区洞察