RubyConf 2021 - Using Monads for Elegant Error Handling by John Gallagher

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=Nkg8tKOZccU



Duration: 27:20
148 views
8


Your app blows up in production. It's an outage and you're under pressure. You read the code. "How does this work? Why is this exception being caught here?" And so begins a long, stressful journey to understand how to fix your code.

Rescuing exceptions is normalised in Ruby, but it's a clumsy way of reacting to error conditions and causes your code to be difficult to reason about.

You'll refactor an existing app to use a functional style and see first hand how easy monads are to use and how they can make your code incredibly clean and expressive.




Other Videos By Confreaks


2022-08-09RubyConf 2021 - Beware the Dreaded Dead End!! by Richard Schneeman
2022-08-09RubyConf 2021 - Optimizing Ruby's Memory Layout by Peter Zhu & Matt Valentine-House
2022-08-09RubyConf 2021 - Hello, computer. Writing Ruby with voice recognition by Nat Budin
2022-08-09RubyConf 2021 - Managing Out: Strategies for Leveling Up by Mina Slater
2022-08-09RubyConf 2021 - Minimize Your Circus Factor: Building resilient teams by Mercedes Bernard
2022-08-09RubyConf 2021 - Control methods like a pro: A guide to Ruby's awesomeness, ... by Masafumi Okura
2022-08-09RubyConf 2021 - Engineering at Root by Maria Moore
2022-08-09RubyConf 2021 - Harness the power of functions to build composable rack applications by Marc Busqué
2022-08-09RubyConf 2021 - How to stop breaking other people's things by Lisa Karlin Curtis
2022-08-09RubyConf 2021 - Why Did We Rewrite Our Main Product Four Times? by Leon Hu
2022-08-09RubyConf 2021 - Using Monads for Elegant Error Handling by John Gallagher
2022-08-09RubyConf 2021 - Picoruby and PRK Firmware by Hitoshi Hasumi
2022-08-09RubyConf 2021 - Surprise! Inspiring Resilience by Cory Watson
2022-08-09RubyConf 2021 - Workshop: A Gentle Introduction to Docker for Rubyists by Jason Swett
2022-08-09RubyConf 2021 - Workshop: How to use flamegraphs to find performance problems by Jade Dickinson
2022-08-09RubyConf 2021 - Clean RSpec: A Workshop on Ruby Testing Craftsmanship by Jesse Spevack
2022-08-09RubyConf 2021 - All comments must be haiku! Custom linting with RuboCop by Scott Moore, Kari Silva
2022-08-09RubyCond 2021 - Workshop: Tackling Technical Debt: An Analytical Approach by Chelsea Troy
2022-08-09RubyConf 2021 - Workshop: Run your first game day by Thai Wood
2022-08-09RubyConf 2021 - Soup to Nuts: Build a video game using Ruby! by Amir Rajan
2022-08-09RubyConf 2021 - Workshop: Intentional Team Building by Alex Robinson, Will Mitchell