<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Eliminate hidden exceptions via railway-oriented programming (sps26)</title>
        <link>https://tube.llpvr.ru/videos/watch/aea5d34c-9b42-4182-8ae5-d8962c1d524c</link>
        <description>[LLPV-RSS:c010a27d8ff6c3888e79ec9ca021f58d59f8fdb0cf5e47a337674ab23c23d8b4] Источник: https://media.ccc.de/v/sps26-110860-eliminate-hidden-exceptions Python’s dynamic nature makes it easy to miss hidden exceptions and implicit control flow, leading to bugs that static type checkers such as mypy, pyrefly, pyright, or ty cannot catch. Railway-oriented programming (ROP) addresses this by making all domain outcomes explicit in function signatures, using a Result type instead of exceptions. This talk introduces ROP in Python, showing how it enables type-safe control flow that static analyzers can verify. We will compare three open-source libraries: Expression by Dag Brattli, returns by Nikita Sobolev (Drylabs), and trcks by the speaker, each offering different approaches to ROP. Special focus will be given to trcks, which uniquely supports both object-oriented (method chaining) and functional (pipeline composition) styles while being designed for maximum type safety and interoperability. Attendees will learn when and how to use ROP in both synchronous and asynchronous code, how to choose the right library, and when ROP is not the best fit. By the end, you will know how to write Python code that is safer, more predictable, and easier to maintain without sacrificing expressiveness. Attendees should be familiar with type annotations and static type checking in Python. A basic understanding of object-oriented programming and of functional programming can be helpful but is not strictly required. about this event: https://talks.python-summit.ch/swiss-python-summit-2026/talk/XNHXFL/</description>
        <lastBuildDate>Tue, 17 Nov 2026 01:00:10 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://tube.llpvr.ru</generator>
        <image>
            <title>Eliminate hidden exceptions via railway-oriented programming (sps26)</title>
            <url>https://tube.llpvr.ru/client/assets/images/icons/icon-1500x1500.png</url>
            <link>https://tube.llpvr.ru/videos/watch/aea5d34c-9b42-4182-8ae5-d8962c1d524c</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://tube.llpvr.ru/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://tube.llpvr.ru/feeds/video-comments.xml?videoId=aea5d34c-9b42-4182-8ae5-d8962c1d524c" rel="self" type="application/rss+xml"/>
    </channel>
</rss>