Confident refactors

Confident refactors

C74bdcd3fa7c3d3f23290f46430b1463?s=128

Mehdi Lahmam B.

June 19, 2017
Tweet

Transcript

  1. 9.

    Refactor - verb To change the design of code without

    changing its observable behavior.
  2. 10.

    Refactor - verb To change in advance of a new

    feature or bug fix, making the job easier.
  3. 27.

    Business priority Cost / risks New features Bug fixes Testing

    Refactoring no selling needed easy to sell can often sell very hard to sell
  4. 32.

    What techniques we have? PDD - Pray Driven Development Fowler’s

    refactoring book Characterization testing A/B testing, experiments
  5. 34.

    Refactors as surgeries Requires careful planning Follow a clear process

    Multiple observations Flexible tools Things can get bloody
  6. 35.

    1. Plan 2. Cut 3. Record 4. Validate 5. Refactor

    6. Verify 7. Compare 8. Fallback 9. Delete Clear process
  7. 36.
  8. 37.
  9. 38.
  10. 39.

    Cut

  11. 40.
  12. 43.
  13. 45.
  14. 47.