Get the source code for this video for FREE → https://the-dotnet-weekly.ck.page/rop
Join a community of 1000+ .NET developers: https://www.patreon.com/milanjovanovic
Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
C# is an object-oriented language with many functional features built in. Functional programming is a fantastic paradigm that I believe every developer should try in their career. In this video, I'll introduce functional programming using the railway-oriented programming approach. ROP allows you to write your program as a series of steps (functions, rails in the railway). Each step can either succeed or fail. ROP will enable you to remove errors from your code in favor of a more expressive approach.
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Read my Blog here:
https://www.milanjovanovic.tech/blog
Chapters
0:00 What is Railway-Oriented Programming?
3:35 Implementing Railway-Oriented Programming
17:56 Result Pattern drawbacks