~/talk

WaterBed code

Talkat JSHeroes 2023 · 2023-05-18..05-19· [react, developer-experience]
slides:none on file

Argues that inherent complexity must live either in implementation or consumers, demonstrates with a reusable UI React and TypeScript Item component that grows from a single body prop to icon/count props, then shows moving complexity to consumers via an extra prop inversion of control pattern and finally splitting into base/icon/count components. Cites Tesler’s WaterBed idea and the copy‑paste origin, shows tradeoffs, and explains when to prefer encapsulation, customization, or interface segregation.

AI-written summary · about

  1. 0:00Introduction
  2. 3:13Waterbed theory complexity
  3. 8:12Complexity in reusable code
  4. 12:07Managing complexity with IoC
  5. 16:28Interface segregation
  6. 19:18Conclusion on complexity and Q&A invitation
~/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.