~/talk

Readability Counts

Talkat DjangoCon US 2016 · 2016-07-17..07-22· [developer-experience]
slides:none on file

Advocates concrete rules: prefer 60-character text width and place line breaks to show logical structure, use trailing commas with a closing parenthesis on its own line, and publish a project style guide that goes beyond PEP8. Favor descriptive names and tuple unpacking instead of numeric indexes, extract helpers so high-level code reads like English, replace try/finally cleanup with contextlib.closing or a custom context manager, use list comprehensions for map/filter patterns, implement containers with dunder methods or use classes when the same data flows through several functions.

AI-written summary · about

  1. 0:00Start
  2. 3:22Line Breaks
  3. 9:02Tuple Unpacking
  4. 13:16A Complex Django Model Method
  5. 14:48Brief Recap
  6. 15:22Code Constructs
  7. 15:39Specific Problems Call for Specific Solutions
  8. 16:06Context Manager
  9. 18:32Functions
  10. 19:19Recap
~/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.