~/talk

Test, Transform, Refactor

Talkat PHP UK Conference 2014 · 2014-02-21..02-22· [testing]
links:none on file
slides:none on file

Concrete claim: disciplined Red-Green-Refactor plus a prioritized set of micro-changes — transformation priority — reveals algorithms without big rabbit‑hole rewrites. Demonstration uses PHPSpec (Prophecy) and PHPUnit, a 20‑minute kata timebox, ping‑pong pairing and a walking‑skeleton approach. The Roman‑numerals kata gets built incrementally: null→constant→if→loop→generic and ends green and working. Advice: write tests for new work, refactor when tests make it hard, and prefer small, ordered transformations.

AI-written summary · about

  1. 0:00Start
  2. 11:01The Roman Numerals Kata
  3. 24:02Walking skeleton
  4. 25:41Transformation null - constant
  5. 26:48Transformation statement - statements
~/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.