~/talk

A design pattern goes to the supermarket

github:kayaweers
slides:none on file

Groceries become concrete examples: a paper list encapsulates requests as a Command allowing queuing and decoupling; an email signup at an empty shelf implements an Observer with one-to-many notifications so the store notifies customers when stock returns; a phone live-translate acts as an Adapter bridging incompatible product labels; different bakeries use Factory Method to produce slice bread or baguette; sandwich prep uses Template Method to enforce a cooking skeleton; putting groceries away is a Facade simplifying many storage subsystems. Code snippets are illustrative, not drop-in.

AI-written summary · about

  1. 0:00Introduction to design patterns
  2. 1:02What are design patterns?
  3. 5:14Command pattern explained
  4. 9:51Observer pattern in action
  5. 14:12Adapter pattern for compatibility
  6. 18:25Factory method pattern
  7. 22:21Template method pattern
  8. 27:36Facade pattern for simplicity
  9. 32:01Recap and real-world use
  10. 36:39Q&A session
~/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.