~/talk

Clearer Code at Scale: Static Types at Zulip and Dropbox

Talkat PyCon 2018 · on Sunday, 2018-05-13· [python, developer-experience]
slides:none on file

Companies report concrete results and a clear playbook: adopt mypy and run it in CI, use runtime tools like MonkeyType or pyannotate to draft annotations, start with core libraries and work incrementally, and keep a reproducible script so the build stays clean. Dropbox reaches 2 million lines typed (Python 2 and 3) and Zulip hits 100k lines early on, migrations speed up, refactors become safer, and reading large codebases drops the time spent hunting types.

AI-written summary · about

  1. 0:00Start
  2. 3:18Dropbox and mypy Dropbox wanted dearer code so much, built mypy
  3. 3:55Mypy core team
  4. 4:17Understanding code
  5. 7:59Aside: Python 2 If you're still on 2.7: static types are for you tool
  6. 10:03Principles
  7. 10:40Work incrementally
  8. 11:38Define a clean build
  9. 15:11Get started in a week
  10. 20:10Robots do the boring work
  11. 26:13Try it out! python/mypy for at sprints!
~/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.