~/talk

How to make a static type checker your best friend

TalkinRussianat PiterPy 2023 · 2023-11-07..11-14· [python, typescript]
links:none on file
slides:none on file

The talk addresses improving Python type-hint coverage and getting static type checkers (like mypy) to be useful rather than ignored. It explains practical ways to avoid overusing Any, enforce and expand annotations across a growing codebase, and common pitfalls to fix so IDEs and tools (e.g., autocompletion and Copilot) work better.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29Why type hints in Python
  3. 5:26Adding type analysis to workflow
  4. 8:25Parametric types and protocols
  5. 11:41Function overloading in Python
  6. 16:17Annotation issues and fixes
  7. 17:42How static analyzers work
  8. 19:28Async code practical task
  9. 27:21Limitations and pitfalls
  10. 29:54Summary of typing benefits
  11. 31:19Q&A
~/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.