~/talk

Surviving a Legacy Codebase

TalkinItalianat Voxxed Days Ticino 2018 · on Saturday, 2018-10-20· [legacy-modernisation]

A live refactoring of a legacy Java service for a board‑game product showing how to regain control by adding characterization end-to-end tests (HTTP calls via RestAssured) to lock down behavior and reveal a bug where duplicate nicknames return 201 instead of 400. The refactor introduces a GoodGame domain object, moves business logic out of HTTP handlers, uses code‑coverage to identify safe vs risky areas, and demonstrates handling an external dice service dependency before adding more unit tests.

AI-written summary · about

  1. 0:00Surviving legacy code
  2. 3:59Understand context first
  3. 7:13Legacy code analysis example
  4. 11:02Secure with characterization tests
  5. 18:14Test coverage tools
  6. 21:43Incremental refactoring
  7. 27:53Tech debt priorities
  8. 33:52Extract domain logic
  9. 37:43Handle external dependencies
  10. 42:46Legacy code principles
  11. 47:06Summary
~/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.