~/talk

How to name things: the hardest problem in programming

Talkat J-Fall 2017 · on Thursday, 2017-11-02· [developer-experience]
links:none on file
slides:none on file

Naming is hard but improvable: the talk shows concrete techniques — expand vocabulary by reading and using reference tools, mine domain jargon from Wikipedia, and make renaming a regular refactoring step via code review and your editor. It exposes common failures (meaningless names like data, single-letter names like i, JavaBeans get/ is misuse) and gives rules (no abbreviations, prefer concrete domain words). It points to practical tools such as Mac Dictionary, reports 98 million "foo" results on GitHub, and urges automated rename in IDE plus committing incremental renames.

AI-written summary · about

  1. 0:00Intro
  2. 0:28Phil Karlton on naming
  3. 2:26Stephen King on pair programming
  4. 2:40Anne Rice on development hardware
  5. 2:59Ernest Hemingway on user personas
  6. 3:15W. Somerset Maughamon enterprise architecture
  7. 3:47Neil Gaiman on code review
  8. 4:18Neil Gaiman on continuous delivery & refactoring
  9. 8:16Lewis Carroll on bad naming
  10. 8:51Deliberately meaningless names
  11. 9:45What is the worst ever variable name?
  12. 11:39Abbreviations are ambiguous
  13. 13:35One letter is too short for type names as well
  14. 16:02BASIC DEFINITIONS
  15. 17:02Multiple meaningless words are meaningless
  16. 17:50Vague words are vague
  17. 19:00JavaBeans Specification (1996/1997)
  18. 20:42How to solve the naming problem
  19. 21:35Become a better writer
  20. 22:56Improve your vocabulary
  21. 24:12Improve your general vocabulary
  22. 25:35Lexical Gap
  23. 26:28Learn domain-specific vocabulary
  24. 28:00Adopt better naming practices
  25. 30:01Overcome fear of renaming
  26. 31:09Use dictionary words
  27. 34:48Expand single-letter names
  28. 35:14Limit name word count
  29. 36:39Describe meaning
  30. 38:53Choose concrete words
  31. 39:39Use a large vocabulary
  32. 40:59Use problem domain terms
  33. 44:18Omit type information
  34. 44:49Prefer collective nouns for collections
  35. 46:23Naming guidelines paper
  36. 47:04Summary
~/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.