~/talk

Fractal Architecture

Talkat NDC Oslo 2022 · 2022-09-26..09-30· [frontend-architecture]
slides:none on file

Argues that cutting time spent reading code beats shaving write time, with concrete measures: use cyclomatic complexity and object activation count (example method shows cyclomatic 3 and six activated objects), aim for at most seven interacting things — the magic number seven — at any abstraction level. Advocates encapsulation and referential transparency (pure functions) so complexity doesn’t leak up, shows C# examples (SQLConnection/SqlCommand, a create method) and a fractal “hex flower” model of nested, self-similar modules.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Reading vs Writing
  3. 5:31Readability
  4. 12:16The Magical Number
  5. 13:17Chunks
  6. 14:04Longterm memory
  7. 18:58Shortterm memory
  8. 20:46Reading the code
  9. 21:54Counting objects
  10. 22:30SQL connection
  11. 22:59State changes
  12. 24:38Hex flower
  13. 25:18Create method
  14. 27:27Entry point
  15. 30:29Object Activation
  16. 31:44Details Matter
  17. 35:00Encapsulation
  18. 35:58A shortcut to encapsulation
  19. 37:40No side effects
  20. 38:53Same output
  21. 39:55Pure function
  22. 42:54Summary
  23. 44:39Fractal Hex Flower
  24. 45:44Q 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.