It's not every day that you learn a new approach to error handling for Ruby. Today Abiodun Olowode shares her insights with railway oriented programming (ROP), a functional programming technique that allows sequential execution of functions, not necessarily synchronous. The key concept is that each function can only accept and return Container of either Success or Failure. They also dive into the topic of dry monads, the gems that helps you achieve railway oriented programming in that it helps bind your methods together and give you a success or failure result.
In this Episode…
- What is railway oriented programming (ROP)
- Examples of ROP and dry monads
- Limitations of dry monads
- How to test your configurations
- Dry schema implications
- What is the developer culture like in Nigeria, Africa?