~/talk

Designing With Immutability

slides:none on file

Immutable collections enable concrete benefits: safe sharing, cheap caching, thread safety, and correct dictionary/set behavior rather than vague design advice. Examples and tools are concrete — mappingproxy is only a proxy and not hashable, immutables Map (HAMT) gives persistent maps with cheap copies and high memory density, and frozen dataclasses / attrs produce hashable records when their contents are hashable. Beware of making mutable objects hashable: it breaks set/dict invariants. A real project (HDB) uses immutables successfully.

AI-written summary · about

  1. 0:00Start
  2. 0:46Agenda
  3. 1:16Python Is Mutable
  4. 2:39Mutable Lists
  5. 5:52Hashing
  6. 10:09Conclusion
  7. 13:42Advantages of Immutable Data Structures
  8. 28:53Python Language Summit
~/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.