~/talk

Diamond Architecture on Scala 3

Talkat Scala Days 2023 Madrid · 2023-09-12..09-14· [scala]
links:none on file
slides:none on file

Diamond Architecture structures a Scala 3 codebase into ordered layers (domain → APIs → implementations → program), enforces six rules (layering, common identifiers, suffixes, vertical-only dependencies), and uses Scala tooling—ScalaFmt, ScalaFix, sbt plugins including sbt-explicit-dependencies and coverage—to keep dependencies explicit and checks in CI. A public Scala 3 case study repo proves the approach; Scala 3 syntax cuts verbosity (example: an intersection type from 11→2 tokens), compilation order becomes predictable, and modules can be deployed together or extracted to scale.

AI-written summary · about

  1. 0:00Introduction
  2. 2:22Software architecture meaning
  3. 3:07Joining new project horror
  4. 8:31Why architecture matters
  5. 12:30Monolith vs microservices pitfalls
  6. 14:38Diamond Architecture concept
  7. 16:08Mechanical sympathy in architecture
  8. 20:01Diamond Architecture rules
  9. 26:04Case study demo
  10. 28:15Scala 3 syntax benefits
  11. 33:13Tooling for rules
  12. 35:39Diamond Architecture benefits
  13. 38:12Why engineers care about architecture
  14. 40:22Summary
~/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.