~/talk

How to write maintainable code

Talkat GeeCON Prague 2017 · 2017-05-17..05-19· [developer-experience]
links:none on file
slides:none on file

Argues that naming as priority and short explanatory tests (behavioural tests) are the most useful levers: use the Mac dictionary/thesaurus when renaming, treat renames as safe refactorings, and keep comments minimal but maintained. Recommends the rule of three before abstracting, the Boy Scout rule (continuous small refactorings), and a Minimum Viable Documentation README. Warns maintainability degrades around ~100,000 LOC and suggests budgeting refactor time (start ~10% and increase as the codebase grows).

AI-written summary · about

  1. 0:00Introduction to maintainable code
  2. 1:06Unmaintainable code examples
  3. 8:58Consequences of bad code
  4. 10:47Recognizing bad code patterns
  5. 13:17Importance of good naming
  6. 20:24Fixing naming issues
  7. 22:29Clean code and tests
  8. 24:21Limitations of clean code
  9. 27:14Effective code comments
  10. 29:48Dangers of over-abstraction
  11. 31:57Business impact of maintainability
  12. 33:21Codebase decay over time
  13. 36:35Code size and maintainability
  14. 38:40Continuous refactoring
  15. 41:53Documentation strategies
  16. 45:26Legacy code and self-reflection
  17. 46:48Summary and key takeaways
  18. 47:52Q&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.