~/talk

Naming Made Easier

Talkat Dutch PHP Conference 2024 · 2024-03-12..03-15· [developer-experience]
slides:none on file

Names stay clear and actionable: prefer descriptive but concise identifiers, group declarations at the top of classes, and keep related classes together in DDD subdomains. Establish a terminology dictionary that maps business terms to code names, use isX / XId indicators for Booleans and identifiers, and append type suffixes like Repository/Service/Entity to classes. Follow modern PHP coding standards (PECR/PSR), avoid obsolete Hungarian prefixes, and run a risk analysis before large renames or refactors.

AI-written summary · about

  1. 0:00Naming challenges
  2. 2:35Why naming is hard
  3. 6:04Better naming strategies
  4. 8:12Clear naming rules
  5. 10:41Grouping declarations
  6. 12:57Business terminology and DDD
  7. 15:51Indicators and class naming
  8. 18:25Naming patterns
  9. 20:57Function naming grammar
  10. 22:40Refactoring terminology changes
  11. 24:28Q&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.