~/talk

Living the Best Life on a Legacy Project

Talkat PHP UK Conference 2023 · 2023-02-14..02-16· [php, developer-experience]
slides:none on file

Says legacy is "existing code" that may be valuable so refactor only when change reduces risk or adds business value; favor small, iterative refactors and keep change sets tiny. Recommends characterization tests to lock current behaviour, run everything in CI and keep trunk green, use phpcs/php-cs-fixer and static analysis with a baseline before tightening, use a step debugger (Xdebug) to understand flow, accept existing Mockery tests rather than rewrite them to PHPUnit, and weigh payment‑critical risk before changing.

AI-written summary · about

  1. 0:00Intro
  2. 1:59How I Got Here
  3. 2:25What Does Legacy Mean
  4. 3:54Legacy Code Causes
  5. 8:57General Skills
  6. 9:47Communication
  7. 13:49Strategy
  8. 15:14Process
  9. 18:03Documentation
  10. 21:18Reading Code
  11. 25:34Understanding the Business
  12. 26:31Success Factor
  13. 30:34Dont just refactor
  14. 33:42Make a plan
  15. 34:29Tooling
  16. 36:11Static Analysis
  17. 37:47Testing
  18. 39:38Code Reviews
  19. 40:43Peer Reviews
  20. 41:56Team Policies
  21. 44:29Kieran
  22. 45:51Business Value
  23. 46:49The Point
  24. 47:50Test Pyramid
  25. 48:50Limit the Scope
  26. 50:23Run the Tests
  27. 51:06Add into CI
  28. 51:51Summary
  29. 52:46Questions
~/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.