~/talk

Writing code that lasts

Talkat PHP Serbia Conference 2016 · 2016-05-28..05-29· [developer-experience]
slides:none on file

Ten concrete rules for making PHP code easier to read, test and change: use Composer packages (Guzzle, Tactician, Doctrine) instead of reinventing work, write tests for confidence, prefer small classes (≈10 methods) with few dependencies (2–5), replace getters/setters with behavior, use first‑class collections, and document surprising design choices. Practice object calisthenics — e.g. only one level of indentation and no else — and follow naming/whitespace rules; the presenter reports not writing an else in five years. Document your code for decisions that can't speak for themselves.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:29Early career code regrets
  3. 6:24Balancing quality and shipping
  4. 12:28Making code last longer
  5. 16:40Testing for confidence
  6. 18:09Core design principles
  7. 22:00Package managers and open source
  8. 25:35Code as communication
  9. 28:03Object calisthenics introduction
  10. 31:36Calisthenics rules explained
  11. 48:08Documenting code decisions
  12. 51:02Practical improvement steps
  13. 54:19Q&A session
~/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.