TL;DR
Tim walks you through three underused but super-useful Python tricks you should start using today. First up is the new match statement (a.k.a. structural pattern matching) to make complex conditionals way cleaner. Next, he shows off dataclasses for zero-boilerplate data containers, and finally dives into positional-only and keyword-only arguments to give your functions a sharper, more intentional interface.
Watch on YouTube
    
Top comments (0)