~/talk

Domain Re-discovery Patterns for Legacy Code

Talkat DDD Europe 2024 · 2024-05-27..05-31· [software-architecture]
links:none on file
slides:none on file

Patterns and a toolkit for excavating domain meaning from messy code: mine the repo with name and dependency metrics, visualize files as metric buildings to spot investment and complexity hotspots, use commit co‑occurrence analysis (temporal coupling) and Dependency Cruiser to find tangles, add activity logging and a legacy toggle to identify live vs obsolete paths, create characterization tests via inverse object mothers and a test DSL, and progressively refactor ownership and conformance; visual tools work on toy projects but struggle on large customer codebases.

AI-written summary · about

  1. 0:00Introduction to patterns
  2. 1:26Passive and active patterns
  3. 3:52Dirty but useful patterns
  4. 7:15Metrics and naming process
  5. 9:42Code tag clouds
  6. 12:31Strong code tag clouds
  7. 14:23Visualizing metrics
  8. 17:14Component-based focus
  9. 17:51Complexity investigation
  10. 20:43Managing complexity
  11. 22:37Knowledge silos and sharing
  12. 25:14Coordination bottlenecks
  13. 26:35Dependency graphs
  14. 28:32Connascence explained
  15. 34:46Refactoring via connascence
  16. 37:23Temporal decoupling
  17. 39:00Entity ownership
  18. 40:41Domain intent and testing
  19. 43:34Inverse object mother
  20. 45:50Outside-in testing with DSLs
  21. 47:28Architecture and communication
  22. 49:41Hidden cost of rewrites
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.