Live Mob Refactoring
summary
Live mob refactoring builds a working Poker Dice hand scorer by iterating on Ruby code and RSpec tests, starting with 32 tests 29 pending and driving behavior with tiny failing specs. The group uses count-based hand classification, lightweight refactors, occasional “janky” hacks to unblock tests, and simplifies a brittle custom matcher; straights, full house, four/five of a kind all get implemented and the test suite ends green, demonstrating mobbed TDD in practice.
AI-written summary · about
chapters (13)
- 0:00Welcome
- 1:06What is mob programming
- 3:16Poker Dice problem
- 4:21Refactoring session starts
- 6:16Fix three of a kind
- 9:11Straight detection
- 15:04Refactor straight logic
- 16:54Full house scoring
- 21:12Debug pair and full house
- 23:21Final tests and passes
- 24:24Clean up hand logic
- 25:31Five of a kind detection
- 26:44Closing
related talks
57mUnlocking The Awesome Power of Refactoring
01h 04mRefactoring Is Not Just Clickbait
33mRefactoring with Observability
37mFront-end Testing for Skeptics
40mController Control: Designing Domains for Web Applications
40mBarely Enough Design
34mHow to build front-end web apps that scale
31mWhat Comes After MVC
