~/talk

Go and write some readable code

Talkat GoDays 2020 · 2020-01-21..01-23· [developer-experience, go]
slides:none on file

Argues that human short‑term memory holds about five items so code complexity must be redistributed rather than piled up; proposes a gradual approach that starts with decomposition (files, packages, services), then adds identifiers, comments, tickets and tests as navigation beacons, and finally introduces types when needed. Claims picking popular libraries speeds onboarding because many patterns move into long‑term memory. Recommends Go tooling like gofmt and golint as practical enforcement that makes code readable across teams.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:08Why readable code matters
  3. 2:59Software complexity problem
  4. 8:40Redistributing complexity
  5. 9:00Memory and short-term limits
  6. 11:57Patterns and long-term memory
  7. 13:46Go formatting and readability
  8. 15:59Decomposition techniques
  9. 18:08Meta information as road signs
  10. 21:07Comments and documentation
  11. 23:17Tests as documentation
  12. 23:40Types and gradual approach
  13. 27:12Team consistency in coding
  14. 28:40Rule of five and gradual approach
  15. 29:03Q&A session
~/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.