~/talk

Some Quick Thoughts about Documentation

Talkat ReasonConf 2019 · 2019-04-11..04-13· [developer-experience]
links:none on file
slides:none on file

Documentation splits into two concrete kinds: code comments that explain why and how not what and API docs that state exact behavior. Comments must explain months starting at zero so adding one is justified. API docs need a typical case plus edge cases (insert at 0, at length, negative or out‑of‑bounds) and show whether insertion is before/after and whether the array remains unchanged for bad indexes. Meaningful names beat foo/bar; good examples take work but prevent code dives.

AI-written summary · about

  1. 0:00Start
  2. 0:19One Thing You Should Never Believe
  3. 0:39Documentng Code: Tell why or how, not what.
  4. 0:59Documenting an API: It's all about the "what."
~/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.