Type Hints Explained — Video Resources¶
Best Single Video¶
Can you BELIEVE all this new type hinting stuff? New in Python 3.10 - Part I by mCoding (12 min) Why: Covers the modern type hinting syntax introduced in Python 3.10 including union types with |, TypeAlias, and ParamSpec. mCoding explains not just the syntax but the reasoning behind each addition. Essential for writing current Python.
Alternatives¶
- Python Typing - Type Hints & Annotations by Tech With Tim (25 min) — Comprehensive tutorial covering the typing module, mypy, function annotations, and types like List, Dict, Optional, Any, and Callable. Good systematic walkthrough of the full typing landscape.
- Goodbye, List! Type hinting standard collections - New in Python 3.9 by mCoding (5 min) — Short and focused on the simplification that lets you write list[int] instead of List[int]. Quick win for cleaner code.
Deep Dives¶
- Python dataclasses will save you HOURS, also featuring attrs by mCoding (12 min) — Shows how type hints combine with dataclasses to create self-documenting, validated data structures. Demonstrates type hints in practice rather than in isolation.
Last verified: February 2026