~/talk

Naming Things

Talkat PHP UK Conference 2015 · 2015-02-18..02-20· [php, developer-experience]
links:none on file
slides:none on file

Practical rules: use PHP, Composer/PSR‑4 and PHPStorm refactors, write code in English, delete dead code, and prefer clear names over clever ones. Claims include avoid abbreviations and use functions as verbs while using noun phrases for classes. Advice on APIs: keep public add/dispatch methods simple and delegate inside. Gives a worked example: builds a Couch query builder inspired by Doctrine that integrates with the stack and proves the naming patterns useful. Underscore for private vars is discouraged.

AI-written summary · about

  1. 0:00Introduction
  2. 0:53Why are we naming things
  3. 5:01We want to create meaning
  4. 5:46Avoid abbreviations
  5. 6:37Writing acronyms and uppercase
  6. 7:17Can you code in your native language
  7. 9:21Open source code
  8. 10:49Language
  9. 11:19Code
  10. 14:42User Stories
  11. 15:53Variables
  12. 20:59Functions
  13. 26:36Classes
  14. 26:55Known Phrases
  15. 27:53Class Names
  16. 30:43Example
  17. 31:56Conclusion
  18. 32:07Thinking ahead
  19. 33:13Practical things
  20. 34:15Refactoring
  21. 34:27Questions
  22. 39:58Create
~/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.