~/talk

Five Lines of Code

Talkat YOW! Melbourne 2022 · 2022-12-08..12-09· [developer-experience, testing]
slides:none on file

Applies a concrete rule—five lines per method—and a low-risk refactoring flow that uses copying/pasting, the compiler and the type system (C#, enums → classes) so the compiler shows completion. Uses Improvement Mondays, ensemble programming and strong-style pairing to build practice and remove bus factors, deleted red tests/comments to reduce dead weight, and iteratively replaces switches and type codes with small, safe steps. The codebase becomes easier to change and the team more sought-after, though the project later runs out of funding.

AI-written summary · about

  1. 0:00Intro
  2. 1:30A new project
  3. 3:36Dead weight
  4. 4:46Strong-style pairing
  5. 5:261 Safety
  6. 6:322 The code
  7. 7:333 The environment
  8. 11:344 The smells
  9. 14:35From smells to rules
  10. 14:57Five lines: Statement
  11. 15:33Example
  12. 23:36Type code elimination: Flow
  13. 29:19Trail map: Summary
  14. 31:55Outro
~/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.