Types, errors and resources
Annotations that a separate tool checks, protocols and dataclasses for describing what a value can do and what it is made of, exceptions with no compiler behind them, and the with statement as the answer to cleanup.
4 lessons · 45 min
Sign in to read this module
4 lessons here, and a free account opens all of them. The orientation module of every course reads without one.
An account is free. There is no paid plan, no tier and nothing to buy.
What is in it
- 01Annotations and the type checker12m
- 02Protocols, dataclasses and describing shapes12m
- 03Exceptions and how failure travels11m
- 04Context managers and resource safety10m