Refactoring— The good Parts

Rafael Melo
2 min readJan 6, 2020

--

This is a sum-up of the book Refactoring by Martin Fowler, Kent Beck, John Brant, William Opdyke and Don Roberts. You can have more information on Martin Fowler's website.

This work is an attempt to better understand and study the principles of the book, and to help anyone who's ever wanted to read it but didn't find the time.

But I tell you, you should read it in full, it's really worth it. (Buy it!)

The true test of good code is how easy it is to change it. Code should be obvious: When someone needs to make a change, they should be able to find the code to be changed easily and to make the change quickly without introducing any errors. — Martin Fowler

Index

Chapter 1 A First Example

Chapter 2.1 Principles in Refactoring (Part I)

Chapter 2.2 Principles in Refactoring (Part II)

Chapter 2.3 Principles in Refactoring (Part III)

Chapter 3 Bad Smells in Code

Chapter 4 Building Tests

Chapter 5 Introducing the Catalog

Chapter 6 A First Set of Refactorings

Chapter 7 Encapsulation (soon…)

Chapter 8 Moving Features (soon…)

Chapter 9 Organizing Data (soon…)

Chapter 10 Simplifying Conditional Logic (soon…)

Chapter 11 Refactoring APIs (soon…)

Chapter 12 Dealing with Inheritance (soon…)

If you have any doubt or suggestion you can contact contact me by any of these. (Or if you wanna just talk too!) Thanks!

https://twitter.com/rsmelo_

https://github.com/rsmelo92

https://www.linkedin.com/in/rafael-melo-info/

https://rsmelo92.github.io/portfolio/

--

--