~/talk

Static Typing in Python

Talkat PyCon US 2020 · 2020-04-15..04-23· [python, typescript]
slides:none on file

Claim: Python is dynamically typed but can be made as statically typed as desired. History and specifics: PEP 3107 adds annotations in 2006, PEP 484 and the typing module standardize type hints (2014) and PEP 526 adds variable annotations (2016). Tools: mypy (pip installable), pytype, PyCharm type checker. Evidence: Dropbox applies typing across millions of lines to reduce developer friction; mypy evolves from a research variant into a working static checker.

AI-written summary · about

  1. 0:00Intro
  2. 0:45Question
  3. 1:15Types
  4. 3:10Variables
  5. 3:39Arguments and Returns
  6. 5:59Duck Typing
  7. 8:19Annotations
  8. 9:43Myapi
  9. 11:54Optional typing
  10. 12:21Gradual typing
  11. 12:47Type hinting
  12. 13:07Special type constructs
  13. 14:18Generic types
  14. 14:45Type int
  15. 15:14Pet 526
  16. 15:46Type Checkers
  17. 17:00PiType vs PiType
  18. 18:22When and why should you use static typing
  19. 18:55When should you use static typing
  20. 20:26Experimenting with static typing
  21. 20:41Summary
  22. 21:27Outro
~/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.