~/talk

Rethinking Domain-Driven Design in Go

Talkat GopherCon Europe 2024 · 2024-06-17..06-20· [go, software-architecture]
slides:none on file

Claims DDD cuts accidental complexity and speeds delivery; a concrete case shows a credit-note feature that originally touches seven microservices, three teams, and takes three months, then simplifies after merging invoice-related services into one bounded context. Code techniques shown in Go include keep valid state in memory via package-level encapsulation and constructors, make the domain package database-agnostic with a repository pattern and in-memory test adapters, and mirror business terms in types and methods so rules (e.g., credit note invariants) are enforced and readable.

AI-written summary · about

  1. 0:00Introduction to DDD
  2. 2:27The billing mate problem
  3. 3:30Failed solutions and challenges
  4. 5:01Analyzing the failure
  5. 9:26Introducing DDD techniques
  6. 12:28Validating state in memory
  7. 16:54Database agnostic domain
  8. 19:56Ubiquitous language in code
  9. 22:30DDD myths and conclusion
~/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.