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