Refactoring: Improving the Design of Existing Code (2nd Edition) Cover Book cover copyright Martin Fowler

Overview

This chapter introduces the first set of refactorings we’re going over in this book. Each section explains why you would want to do the refactoring and then walks through an example.

My One Takeaway

I’m going to deviate from my normal structure in order to post two takeaways:

  1. Extract Function and Extract Variable are now part of my normal day to day work. I’m amazed at how much cleaner this makes my code.
  2. It’s interesting how some refactorings are just combinations of other refactorings.

Like this post? Don't forget to follow us on Twitter and Facebook for updates.