~/talk

Unclear Code Hurts

Talkat PyCon DE & PyData Berlin 2022 · 2022-04-11..04-13· [developer-experience]
links:none on file
slides:none on file

A messy print_info function prints underscores for missing values and a bottom row of counts, forcing a rewrite and yielding zero research output; a monolithic train wrapper adds early stopping, checkpointing, weight plots, subsampling and random_state but nobody uses it; terse names like amt hs and inconsistent plurals hide business rules in mortgage code; recommendation: use linters/formatters like Black, add types and tests, and prioritise readability and naming clarity.

AI-written summary · about

  1. 0:00Introduction
  2. 8:13Story
  3. 14:20Mortgage application
  4. 21:45QA Role of Comments Documentation
  5. 23:20Type Annotations
  6. 23:53Tests
  7. 24:20Variable names
  8. 25:00Funk Tools
  9. 26:30Clean Code
  10. 27:43Clean Code Trick
  11. 28:28Tools
~/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.