

Data lens
Jun 26, 2023
Delve into the fascinating world of data relationships with a creative coffee shop analogy. Discover how different choices lead to diverse outcomes and the importance of understanding these connections. Gain insights into effective domain modeling through programming constructs that can capture the intricate links between data values.
AI Snips
Chapters
Transcript
Episode notes
Core Data Relationships
- The main question in the data lens is to identify relationships among data values.
- Common relationships include alternatives (choose one) and combinations (multiple choices combined).
Match Language Constructs to Data
- Study your programming language for constructs that encode data relationships naturally.
- Choose types or collections that closely match the data relationship you identified.
Decorator Pattern Debate
- In a debate about design, some propose using decorators to compose coffee features like size and add-ins.
- Eric finds this approach problematic due to ambiguity and complexity in combining options.