Book Review: Refactoring

Refactoring by Martin Fowler

Catalogue of Refactorings

The remaining 300 pages is a catalog of refactoring and you can find it online. Each refactoring includes motivation — when, mechanics — how — in step-by-step form, and examples. I like the step-by-step instructions when tests pass after each instruction. It is awkward to apply these steps for simple refactorings, and powerful to apply for complicated refactorings or refactorings that involves a lot of occurrences.

Personal Impression

Almost all refactorings include inverse refactoring. When there is Extract Variable, you can find also Inline Variable. That was a surprise for me as I thought the first option is always better (and I learned that’s not true).

Language & Code

The book is easy to read, the author is using easy English and anyone who can read this review can read the book.

2nd edition in JavaScript

1st edition in Java


Do you need help with refactoring your legacy code? Hire me, I can help you



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Svaťa Šimara

Svaťa Šimara

Developer interested in Domain-Driven Design & Modeling