~/talk

Variables of the Veracious Variety: How to Better Name your Variables

slides:none on file

Explains a practical naming method: the three C’s — consistent, concise, correct — and concrete patterns like boolean names that read as questions (isAnyUserActive) and explicit counts (numberOfEligibleDiscountItems). Recommends thesaurus.com to find precise verbs, shows how homonyms and synonyms inflate cognitive load, cites a study where 334 developers had only a 6.9% median agreement on names, and argues for explicit types (e.g., monthAsString, productIdToSuppliersMap) to reduce future refactors.

AI-written summary · about

  1. 0:00Variable naming challenges
  2. 1:09Why naming matters
  3. 5:27Scientific precision in naming
  4. 10:51Why naming is difficult
  5. 28:20Three C's of great names
  6. 31:50Naming booleans clearly
  7. 36:11Integer variable best practices
  8. 40:49Floating point naming
  9. 42:16String variable guidelines
  10. 45:04Naming collections
  11. 46:54Naming maps and pairs
  12. 47:38Naming tuples effectively
  13. 50:08Summary
~/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.