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

YouTube

Static Typing in Python

PyCon US via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the world of static typing in Python through this 22-minute PyCon US talk by Dustin Ingram. Delve into the advantages and disadvantages of static type systems, and learn about recent efforts to introduce optional "type hints" in Python. Discover how these developments impact Python programmers and the language's future. Gain insights into topics such as duck typing, annotations, gradual typing, generic types, and type checkers. Understand when and why to use static typing, and learn how to experiment with it in your own Python projects. This comprehensive overview covers everything from basic concepts to advanced type constructs, providing a solid foundation for incorporating static typing into your Python development workflow.

Syllabus

Intro
Question
Types
Variables
Arguments and Returns
Duck Typing
Annotations
Myapi
Optional typing
Gradual typing
Type hinting
Special type constructs
Generic types
Type int
Pet 526
Type Checkers
PiType vs PiType
When and why should you use static typing
When should you use static typing
Experimenting with static typing
Summary
Outro

Taught by

PyCon US

Reviews

Start your review of Static Typing in Python

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.