~/talk

Code Writing and Design

Talkat DjangoCon US 2008 · on Saturday, 2008-09-06· [django]
speakerdeck:malcolmt
slides:none on file

About 6,000 ticket reviews reveal recurring mistakes and the fixes that actually stick: always include a minimal failing test (tests take 35–60 minutes locally), submit an SVN diff (use svn add for new files), follow pep8 and the docs/contributing guide, and consider all supported backends (MySQL, sqlite, PostgreSQL, Oracle, Windows edge cases). Real bugs include pickling protocol mismatches (protocol 0 vs 2), len swallowing exceptions, and an infinite-memory loop from objects with __getitem__ but no __len__; the accepted fix raises a clear error rather than adding 14 methods.

AI-written summary · about

  1. 0:00Start
  2. 13:19Code Quality
  3. 15:27Comments
  4. 27:04The Wisdom of Crowds
  5. 33:34Django Runs on Multiple Operating Systems
~/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.