Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Static Typing - Beyond the Basics of def foo(x - int) - str

EuroPython Conference via YouTube

Overview

Explore advanced static typing concepts in Python beyond basic function annotations in this EuroPython 2019 conference talk. Delve into challenges encountered when type-checking large codebases with complex architectures and metaprogramming. Learn to leverage powerful tools like generics, signature overloads, protocols, and custom mypy plug-ins to maximize type checking advantages. Discover how thinking in terms of the type system can improve code quality. Cover topics including crashing, config, imports, unit tests, annotations, packages, weighted averages, nominal typing, and overloading function signatures. Gain insights applicable to any programming language with static typing.

Syllabus

Intro
Static typing in Python
Outline
Crashing
Config
Optin
Imports
Optout
Unit tests
Annotations
Packages
Examples
Weighted average
Parameterizing weighted average
Nominal typing
Meta programming
overloading function signatures
takeaways

Taught by

EuroPython Conference

Reviews

Start your review of Static Typing - Beyond the Basics of def foo(x - int) - str

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.