Talks: Functional Error Handling

Saturday - May 18th, 2024 11:15 a.m.-11:45 a.m. in Room 301-305

Presented by:


In the early days, people wrote small applications in assembly language, using gotos to get around. This didn't scale, so we traded gotos for structured functions with single entry and exit points—and then we added a new kind of goto with the exception, which not only blows up your function but can end up anywhere. This makes functions difficult to compose. We’ll look at strategies in Python that bring exceptions under control and make functions composable again, including the third-party result library based on the Rust solution to this problem.