Book cover copyright Martin Fowler
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:
- 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.
- It’s interesting how some refactorings are just combinations of other refactorings.