~/talk

Gradual Typing in Python

TalkinSpanishat PyConES 2018 · 2018-10-05..10-07· [python, typescript]
links:none on file
slides:none on file

Gradual typing combines static and dynamic typing so you can choose which parts of Python use compile-time vs runtime type checks. The talk explains Type Hints from PEP 483 and PEP 484 and demonstrates using mypy and Python annotations to document code, catch bugs earlier, improve error messages and IDE features (autocomplete, validation, refactoring), and potentially improve performance.

AI-written summary · about

  1. 0:00Introduction
  2. 1:32Static vs dynamic types
  3. 6:28Gradual typing origin
  4. 9:18Gradual typing in Python
  5. 11:05Python type annotations
  6. 13:11Function and class types
  7. 15:44Collection and tuple types
  8. 17:10Type variables and generics
  9. 19:20Typing tools and benefits
  10. 20:02Typing benefits and future
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.