~/talk

Naming is Hard: Let's Do Better

Talkat NDC TechTown 2024 · 2024-09-09..09-12· [software-architecture, documentation]
slides:none on file

Explains why many C++ names (RAII, partial_sort_copy) confuse intent and shows concrete fixes: rename a bloated set_status into approve and deny, prefer partial_sort_copy -> topN style intent, and use refactoring tools to rename safely across codebases. Covers naming verbs vs nouns, when to add units or adjectives, enum/API design, and template type names; gives practices for iterative renaming during refactoring and concrete examples you can apply immediately. refactoring tool

AI-written summary · about

  1. 0:00Better naming practices
  2. 3:13Why naming matters
  3. 6:24Names evolve and mislead
  4. 10:44Consistency across docs
  5. 14:23Avoid misleading metaphors
  6. 19:05Natural pairs and conventions
  7. 23:41Verb-based function names
  8. 28:00Naming classes and variables
  9. 32:01Purpose-driven naming
  10. 39:25Local variable scope
  11. 44:06Pitfalls of abbreviations
  12. 46:15Meaningful type names
  13. 48:27When to rename
  14. 53:25Demand good names
  15. 55:13Final thoughts and Q&A
~/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.