~/talk

Get better at Refactoring

Talkat Voxxed Days Singapore 2018 · on Friday, 2018-06-01· [developer-experience]
slides:none on file

Claim: refactoring measurably reduces the cost of change and cycle time (aiming toward weekly releases). Demonstration works on a Java Spring MVC mail controller with tests, using IntelliJ refactorings and unit tests to keep behavior stable. Steps shown: replace temporary variables, move address parsing into the form/contact model, inline duplicates, extract responsibilities from the controller, and run tests after each step. A real legacy case took three days to remove duplication; the demo refactorings keep tests passing while improving cohesion.

AI-written summary · about

  1. 0:00Introduction
  2. 2:15Agenda
  3. 5:25Story
  4. 5:47Changing a footer
  5. 10:08Causal loop diagram
  6. 13:47Legacy code
  7. 20:18Refactoring
  8. 24:35Code Overview
  9. 25:13Development
  10. 25:44Code walkthrough
  11. 34:13Replace subject
  12. 35:57Duplication
  13. 37:09Duplicates
  14. 39:14Single Responsibility Principle
  15. 41:44Testing
  16. 44:01How to do better
  17. 46:03Similar responsibilities
  18. 46:46Recap
  19. 48:46Teaching Refactoring
~/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.