Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Refactoring With Fire

1,361 views

Published on

Slides from my talk "Refactoring With Fire" at Rails Underground. These are rather useless without the video, which will be available soon.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Refactoring With Fire

  1. 1. new bamboo
  2. 2. Gwyn new bamboo
  3. 3. new bamboo
  4. 4. new bamboo
  5. 5. new bamboo
  6. 6. new bamboo
  7. 7. Image: Veo_ new bamboo
  8. 8. Image: Davic new bamboo
  9. 9. Survey Time new bamboo
  10. 10. Have you ever wanted to rewrite? Yes Cyborgs Liars new bamboo
  11. 11. new bamboo
  12. 12. £ new bamboo
  13. 13. new bamboo
  14. 14. new bamboo
  15. 15. Default: Refactor new bamboo
  16. 16. “ the single worst strategic mistake that any software company can make - Joel on Software new bamboo
  17. 17. Business Value Lots Rewrite Some Refactor None Time new bamboo
  18. 18. Business Value Lots Oops, we're Some out of time! Refactor Rewrite None Time new bamboo
  19. 19. Refactor if: You lack a very good reason to rewrite. new bamboo
  20. 20. new bamboo
  21. 21. new bamboo
  22. 22. new bamboo
  23. 23. new bamboo
  24. 24. Stuff they have Stuff they need new bamboo
  25. 25. Business Value Lots Rewrite Some Refactor None Time new bamboo
  26. 26. Business Value Lots Rewrite Some Refactor None Time new bamboo
  27. 27. Rewrite if: You have a 15,000 line controller You can drastically cut scope You have access to the original coder You're not going to stall the business new bamboo
  28. 28. Doing the wrong thing, badly. Image: failblog.org new bamboo
  29. 29. new bamboo
  30. 30. new bamboo
  31. 31. Stuff they have Stuff they need new bamboo
  32. 32. new bamboo
  33. 33. Rewrite if: You have a 15,000 line controller You can drastically cut scope You have access to the original coder You're not going to stall the business The requirements have changed new bamboo
  34. 34. An Example new bamboo
  35. 35. Stuff they Stuff they have need new bamboo
  36. 36. Rewrite if: You have a 15,000 line controller You can drastically cut scope You have access to the original coder You're not going to stall the business The requirements have changed new bamboo
  37. 37. new bamboo
  38. 38. Rock > Us < Hard Place Image: Shaggyshoo new bamboo
  39. 39. How to Rewrite new bamboo
  40. 40. “ First, solve the problem. Then, write the code. - John Johnson new bamboo
  41. 41. Image: nathas@gmail.com STEALTH FEATURE Will bomb your project without warning.new bamboo
  42. 42. new bamboo
  43. 43. new bamboo
  44. 44. new bamboo
  45. 45. Deliver early new bamboo
  46. 46. How to Refactor new bamboo
  47. 47. Boot It Up new bamboo
  48. 48. Routes new bamboo
  49. 49. new bamboo
  50. 50. new bamboo
  51. 51. new bamboo
  52. 52. Know what you don't know new bamboo
  53. 53. new bamboo
  54. 54. new bamboo
  55. 55. gitx -- models/wtf.rb new bamboo
  56. 56. new bamboo
  57. 57. sudo port install qgit new bamboo
  58. 58. new bamboo
  59. 59. new bamboo
  60. 60. Noisy Partials new bamboo
  61. 61. script/plugin install git://github.com/gwynm/noisy_partials.git new bamboo
  62. 62. new bamboo
  63. 63. new bamboo
  64. 64. script/plugin install git://github.com/msales/partial_dependencies new bamboo
  65. 65. new bamboo
  66. 66. Divide and Conquer new bamboo
  67. 67. new bamboo
  68. 68. new bamboo
  69. 69. Delete and See new bamboo
  70. 70. “ Deleted code is debugged code. - Jeff Sickel new bamboo
  71. 71. Creepingup slowly Creep Up Slowlynew bamboo
  72. 72. Eject Eject Eject git reset --hard HEAD new bamboo
  73. 73. Prejudice. new bamboo
  74. 74. The Database new bamboo
  75. 75. new bamboo
  76. 76. new bamboo
  77. 77. new bamboo
  78. 78. new bamboo
  79. 79. Slides, comments, reading list: blog.new-bamboo.co.uk (soon!) new bamboo
  80. 80. Code, jobs, awesomeness: new-bamboo.co.uk (Looking for two devs - say "Gwyn sent me") new bamboo
  81. 81. new bamboo

×