Life Quote by Greg Young
““Just like in real life, in code, a feature is triggered by an action (command) that results in a sequence of events that might or might not cause side effects.””
About This Quote
Source Speech: Domain-Driven Design Conference, 2005
Code mirrors reality: actions trigger features, creating event chains that may produce side effects, reflecting complex system behavior.
In simple terms: Code actions cause events, sometimes with side effects.
Design code to manage side effects.
Themes
Mood
Type
When to use this quote
- real‑time systems
- API design
- microservices
Key Concepts
Questions to Reflect On
- How can you isolate unintended side effects?
- When should side effects be allowed?
Side effects can be hard to predict and test.