05/10/2024 –, Treboada
Idioma: English
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
Temáticas adicionales:Software packages
Nivel de la propuesta:Intermediate (it is necessary to understand the related bases to go into detail)
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!