~/talk

The Code is Documentation Enough

Talkat NDC TechTown 2025 · 2025-09-22..09-25· [developer-experience]
slides:none on file

Argues that code must express intent so compilers and humans catch bugs: demonstrates renaming a weighted‑average implementation, replacing a raw loop and confusing lambda with a zip transform pipeline, and refactors a fat statistics function into 20‑line units to improve testability. Shows strong types for meters/seconds and using MPUnunits by Matio push to avoid unit mixups, advocates unit tests as executable documentation, and lists tooling like clank tidy, clank format, ReSharper C++, SonarQube plus contracts and expects/ensures for clearer interfaces.

AI-written summary · about

  1. 0:00Expressive code intro
  2. 3:19Variable naming best practices
  3. 8:53Function naming best practices
  4. 12:45Strong types for clarity
  5. 21:36Organizing code for readability
  6. 28:03Unit tests as documentation
  7. 32:44Language features leverage
  8. 39:48When to use comments
  9. 44:03Code readability and consistency
  10. 47:12Summary
~/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.