~/talk

Using Boundary-Driven Development to beat code complexity

Talkat Øredev 2024 · 2024-11-06..11-08· [frontend-architecture]
slides:none on file

Claim: carefully designed internal boundaries stop a monolith turning into a Big Ball of Mud by making dependencies intentional and optimizable. Concrete tools and patterns: dependency inversion principle applied at architecture level, onion/hexagonal/clean architectures, vertical-slice modules, package separation for test helpers, and explicit internal visibility. Surprising numbers and practices: duplicate code across boundaries instead of dogmatic DRY, test each boundary as a unit, use composition layer to wire things. Examples and artifacts: IStoreOrder interface, liquid projections library, distributed-lock provider, Rider/JetBrains IDE analysis and Copilot for code understanding.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Code coupling problem
  3. 4:55Traditional solutions fail
  4. 5:15Internal boundaries in code
  5. 7:03Dependency inversion principle
  6. 11:21Dependency inversion in architecture
  7. 14:32Code by functionality over layers
  8. 16:16Microservices to modular monoliths
  9. 17:24Duplicating code reduces coupling
  10. 19:33Testing within boundaries
  11. 21:18Reducing package-level coupling
  12. 23:45Libraries without hidden magic
  13. 27:37Code visibility and refactoring
  14. 30:30Enforcing boundaries with contracts
  15. 32:57Tell don't ask in practice
  16. 36:15Domain logic in value objects
  17. 38:04Tools for understanding code
  18. 39:10Refactoring legacy systems
  19. 40:14Q&A
~/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.