~/talk

A Practical Guide to Loose Coupling

Talkat C++ on Sea 2022 · 2022-07-05..07-07· [software-architecture, testing]
links:none on file
slides:none on file

Concrete refactors: replace global manager/singletons and long chains like a->b->c with injected objects so code compiles if wrong and tests can fake collaborators. Demonstrates C++20 solutions—concepts and templates for zero-cost generics, type erasure for runtime polymorphism, and strong-typed parameters—to enforce Law of Demeter and dependency injection. Shows wiring in a composition root, warns against service locators and leaky abstractions, and argues these changes make code measurably more testable, flexible and easier to change.

AI-written summary · about

  1. 0:00Start
  2. 5:01Clean Code
  3. 7:40What Is a Good Design
  4. 8:28Scalable Design
  5. 28:09Dependency Injection
  6. 28:57Dependency Injection Is a Way To Reduce Coupling
  7. 37:10Composition of Inheritance
  8. 42:01Inheritance
  9. 45:50Functional Programming Design Patterns
  10. 46:51Introspection Design
  11. 49:07What Is the Use Case for Inheritance
  12. 54:08Bdd
~/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.