Refactoring - erfaringer fra JavaZone

Skip to end of metadata
Go to start of metadata

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
  1. Define Goal
  2. Trial and error, find
    1. Relevant Dependencies
    2. Required Changes
  3. Revert from Red
  4. Implement changes from Leaf to Leaf, removing the nodes. By small changes.
  5. Reach goal.

Eric Evans

Session at JavaZone 2009
Session at InfoQ

Martin Fowler??

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.