~/talk

Tips for using optional static typing

TalkinRussianat PyCon Russia 2021 · 2021-09-05..09-06· [python, typescript]
links:none on file
links:none on file
slides:none on file

Covers practical use of optional static typing in Python (type hints/typing module), explaining why to use it, demonstrating examples and benefits, and addressing difficulties that arise with proposed solutions.

AI-written summary · about

  1. 0:00Optional typing intro
  2. 1:01Purpose of optional typing
  3. 3:28Typing as documentation
  4. 7:28Type checking with mypy
  5. 15:19Theory to practice
  6. 17:38Protocols for type contracts
  7. 22:03Generics in storage
  8. 25:11Algebraic types and unions
  9. 29:09Runtime vs static safety
  10. 31:13Key takeaways
  11. 31:34Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.