Skip to content

Refactoring - erfaringer fra JavaZone

1. Shortest time in red - refactor while tests are green.

2. Retreat Gracefully

  • Discover and retreat find new methods to acheive goal

3. Mikado Method

  • Node -> Leaf -> Goal analogy
  • Goal = What you want to achieve
  • Node = Required Change
  • Leaf = Achievable Change

  • Define Goal

  • Trial and error, find
  • Relevant Dependencies
  • Required Changes
  • Revert from Red
  • Implement changes from Leaf to Leaf, removing the nodes. By small changes.
  • Reach goal.

  • Beheading the Software Beast

  • http://mikadomethod.wordpress.com/

Eric Evans

Session at JavaZone 2009
Session at InfoQ

Martin Fowler??