Naming in DDD
summary
Naming is a collaborative, iterative process tied to DDD techniques: keep a shared glossary, run storming sessions, enforce conventions with a linter or Wiki, and use intention-revealing interfaces so method names expose use cases. Choose repository names that reflect collection or aggregate and prefix implementations (example: JdbcBooks vs FakeBooks). Isolate models per bounded context (candidate vs prospect vs employee), let domain terms win even mixed-language code, and validate names by having non‑technical stakeholders read the code.
AI-written summary · about
chapters (14)
- 0:00Introduction to naming
- 1:12What is naming in DDD
- 3:44Naming as a collaborative process
- 5:32Technical vs domain terms
- 7:17Naming building blocks
- 9:29Intention revealing interfaces
- 10:33Infrastructure and application services
- 13:05Naming smells and bad practices
- 14:35Avoiding technical jargon
- 16:06Bounded contexts and naming
- 18:58Context-specific naming
- 20:24Multilingual code considerations
- 21:53Respecting domain terms in code
- 22:57Conclusion and Q&A
