Se han guardado sus preferencias de configuración regional. Nos gusta pensar que tenemos un excelente soporte para el español en Pretalx, pero si encuentra problemas o errores, ¡contáctenos!

Sebastian Arias

I am Sebastian Arias, an Ecuadorian Software Engineer with 6 years of experience in Python web development, TDD, and FP. As a Senior Developer and Consultant for Stack Builders, a US based consultancy, I have worked extensively with US-based companies, and my passion lies in helping people explore new ideas and adopt code best practices. When I'm not coding, you can often find me blending my own coffee mix. As a coffee enthusiast, I take the 'bean to cup' journey quite seriously!


Twitter

sebasarias95

LinkedIn

https://www.linkedin.com/in/sebasarias/

Otro enlace (e.g. GitHub)

https://github.com/larox


Session

05/10
12:55
35minutos
Beyond Try-Except: Python's Frontier of Error Handling with Monads and Railway Magic
Sebastian Arias

Python developers often grapple with the LBYL and EAFP approaches to exception handling. As codebases evolve, the demand for effective error-handling strategies intensifies. This presentation introduces a paradigm-shifting approach to exception handling in Python by leveraging monads, specifically the Results Library, and embracing the Railway-Driven Development methodology – a functional programming concept known for providing a consistent and composable structure.

Demonstrating this approach through code examples, we'll showcase how integrating this monadic approach with Python features like pattern matching simplifies error management, elevating code readability, maintainability, and reliability.

By the end, attendees will possess a thorough understanding of monadic error handling and the Railway-Driven Development methodology. This knowledge empowers developers to make informed decisions, fostering more robust and maintainable Python code within the functional programming paradigm.

Core
Treboada