~/talk

Naming is Hard: Let's Do Better

Talkat ACCU 2021 Online · 2021-03-10..03-13· [developer-experience]
slides:none on file

Argument is that good names are a learned skill that reduce bugs and force better design; concrete heuristics include use verbs for functions and nouns for classes, partial_sort_copy vs top_n as a real-world naming mismatch, prefer set_status → approve/deny to reveal side effects, avoid overloaded metaphors like empty ambiguity, keep user terminology consistent, use scoped enums and meaningful template parameter names, refactor with temporary nonsense names then rename, and run automated refactors so legacy renames propagate safely.

AI-written summary · about

  1. 0:00Start
  2. 1:32NAMING THINGS
  3. 3:01NOT NAMING CONVENTIONS
  4. 3:38NAMES CARRY MEANING
  5. 5:15IT MATTERS EVERYWHERE
  6. 7:02NAMES TELL A STORY
  7. 10:53NAMING IS HARD
  8. 14:55AN STORY
  9. 20:29USER NOMENCLATURE
  10. 24:11DON'T INVENT BUSINESS WORDS
  11. 29:03METAPHORS AREN'T UNIVERSAL
  12. 32:01VERBS HELP FUNCTIONS
  13. 34:16ORDER MATTERS
  14. 35:14TOOLS MATTER
  15. 36:35PARAMETERS
  16. 39:24CLASSES ARE NOUNS
  17. 43:54MEMBERS
  18. 46:30TRADITIONAL MEMBER FUNCTION NAMES
  19. 50:42RARELY, SHORTER IS BETTER
  20. 53:12MOST OF THE TIME, LONGER IS BETTER
  21. 56:15ABBR
~/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.