~/talk

Just Because You Can, Doesn't Mean You Should

Talkat EuroPython 2015 · 2015-07-20..07-26· [python, developer-experience]
links:none on file
slides:none on file

Advocates concrete rules: avoid type-checking — accept iterables not just lists; provide explicit constructors like from_iterable or from_adjacencies so callers never guess (about a third of people guess wrong). Separate protocol assembly from transport (e.g. statsd message builder vs socket sender), accept file-like objects instead of file paths, use path objects for real files, and expose a convenience layer for headers/cookies rather than hiding underlying ordered/duplicate semantics.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Design philosophy
  3. 3:25Pitfalls of type checking
  4. 5:39Avoid ambiguous dispatch
  5. 16:07Resource management
  6. 21:14Separating network concerns
  7. 26:44Convenience layers
  8. 29:44Attribute access risks
  9. 34:19Q&A and conclusion
~/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.