Refactoring by Martin Fowler is considered a classic book.
But is the book still relevant?
Simply stated, yes.
This post contains affiliate links. I may receive compensation if you buy something. Read my disclosure for more details.
TLDR Refactoring By Martin Fowler: Improving the Design of Existing Code (2nd Edition)
📚 Originally published in 1999, Refactoring is considered a classic book.
🖥️ The book helps programmers improve the design of existing code and enhance software maintainability.
When the first edition of Refactoring: Improving the Design of Existing Code was released, it was a revelation for thousands of programmers.
Designed to help improve the design of existing code and enhance software maintainability, the book included hundreds of pages of instructions, code samples, and insight.
As Fowler notes, nobody had written a book about refactoring until he did.
Refactoring was such a monumental book that years later people were still raving about it:
Refactoring: Improving the Design of Existing Code is one of those amazing books that every professional developer should have on their book shelf.
But the book started losing its edge as the years went by.
For one, the dominant force in code structure was mainly classes back in 1999.
Nowadays we have other structures playing dominant roles.
Number two, some of the code examples were showing their age.
java.util.Vector as a specific example.
So in 2018, Refactoring by Martin Fowler was given a new life.
For example, he references its approachability and a good class model since ES6.
Further, top-level functions make it easier to show refactoring out of the context of classes.
In the words of Fowler himself:
What does the book cover?
In Refactoring you will learn:
- The process and principles of refactoring
- How to make your programs easier to understand & change
- How to identify “bad code smells” that signal opportunities to refactor
You will also:
- Explore refactorings, all containing explanations, motivation, mechanics & basic examples
- Build tests
- Identify tradeoffs & obstacles to refactoring
Who should read Refactoring by Martin Fowler?
This book is good for advanced beginners, along with intermediate and advanced programmers.
Refactoring by Martin Fowler: Conclusion
The web continues to eat up large swaths of the software industry.