~/talk

Toward a Corpus Study of the Dynamic Gradual Type

Talkat HATRA 2024 · on Sunday, 2024-10-20· [python, typescript]
links:none on file
links:none on file
slides:none on file

Corpus analysis targets 221 mypy-annotated GitHub projects and finds roughly 320,000 any occurrences, then clusters them into eight patterns of use. Several patterns map to concrete fixes: replace ad hoc anys with type variables, use the new Self pattern for instance-returning methods, and prefer indexed or mapping types; some fixes are implemented in mypy while three pattern classes remain hard to detect or auto-fix and tools like monkeytype are proposed.

AI-written summary · about

  1. 0:00Gradual typing introduction
  2. 2:15Dynamic gradual types motivation
  3. 7:56Corpus study methodology
  4. 10:46Any type misuse patterns
  5. 18:50Future language directions
  6. 19:31Q&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.