~/talk

Whitespace ≤ Comments << Code

Talkat CppCon 2017 · 2017-09-24..09-29· [career-development]
links:none on file
slides:none on file

Claim: comments often do more harm than good when they duplicate or contradict code and they outlive fixes. Concrete rules: use assertions to record assumptions, rename identifiers instead of explaining names, split big functions into named helpers, and delete comments that add no new information. Rely on version control for authorship, reserve comments for unavoidable design rationale or kludges, and treat stale or apologetic comments as active bugs that mislead maintenance.

AI-written summary · about

  1. 0:00Comment importance
  2. 1:50Comment value spectrum
  3. 3:14Bad comments harm
  4. 4:40Why bad comments persist
  5. 6:04Writing valuable comments
  6. 7:05Useless and harmful comments
  7. 9:03Absurd comment practices
  8. 10:06Cost of bad comments
~/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.