~/talk

Read my code, or why writing readable code matters

TalkinFrenchat Devoxx France 2021 · 2021-09-29..10-01· [developer-experience]
slides:none on file

Examines readable code as a cognitive problem and gives concrete practices: because working memory holds about four chunks, prefer short methods, small parameter lists, consistent naming and idiomatic patterns. Uses quick JavaScript/Java/Go examples, cites a “magic number” of four items and ~15 minutes to fully resume after interruptions, and recommends linters/formatters, avoiding mixed abstractions or cyclic dependencies, and building explicit domain models (diagrams or DDD) to reduce cognitive load.

AI-written summary · about

  1. 0:00Introduction
  2. 2:47Scala memory tests
  3. 6:29Java memory tests
  4. 10:48Readability and long-term memory
  5. 14:24Design patterns and idiomatic code
  6. 17:36Working memory and cognitive load
  7. 21:56Code organization and spaces
  8. 24:48Interruptions and productivity
  9. 26:33Reducing cognitive load
  10. 28:42Mental models in development
  11. 32:00Building strong mental models
  12. 34:12Learning and documentation
  13. 36:45Summary and Q&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.