~/lightning

Code comments

Lightningat .NET Fringe 2015 · 2015-04-12..04-14· [developer-experience]
slides:none on file

Claims that comments must be treated as live code and kept in sync with changes, or they mislead: example of a deleted-user-by-username comment left after switching to user ID, and a soft-delete that makes a delete call silently no-op. Labels common failures as stale comments and apology comment hacks copied from StackOverflow. Recommends using XML comments for public APIs only, preferring self-documenting names, splitting complex methods, and keeping a separate note when a real justification is required.

AI-written summary · about

  1. 0:00Intro
  2. 0:27Code comments
  3. 0:40Treating code comments as live code
  4. 0:57Cell comments
  5. 1:13Out of sync with codes
  6. 1:28Soft elites
  7. 1:54Apologies
  8. 2:17XML comments
~/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.