A Design Pattern Goes to the Supermarket
summary
The talk maps classical software design patterns onto supermarket actions: it shows Command embodied by a shopping note that encapsulates requester, items and receiver to avoid back-and-forth; Observer implemented as an in-store waitlist that notifies customers when out-of-stock coffee returns; Adapter realized by a phone translator app converting Spanish ingredient text to English for safe vegan choices; and Factory Method represented by different bakeries producing different Bread types.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 2:14Command pattern grocery
- 6:32Observer pattern stock
- 11:21Adapter pattern translation
- 15:31Factory method breads
- 18:31Template method sandwiches
- 22:29Facade pattern storage
- 25:45Summary
related talks
24mA Few Good Design Patterns
58mImmutable Patterns of System Design; From Monolith to Agentic AI
02h 14mDesign Patterns Workshop
01h 02mThe Observer Design Pattern in Cpp
49mDesign Patterns for Modern Javascript
50mDesign Patterns: The most common misconceptions
38m"Design Patters for Modern JavaScript"
52mJavaScript Design Patterns
