Curated Tech Reading Map

Find your next tech book to read

Book

Refactoring

Improving the Design of Existing Code, 2nd Edition

Martin Fowler

Buy on Amazon* The link above is an advertisement via Amazon Associates.

Summary

A catalog of refactorings: named, step-by-step techniques for restructuring code without changing what it does. Martin Fowler opens with a worked example, then spends a chapter naming code smells, the signals that tell you when to refactor, before building the tests that back every change in the catalog that follows. That catalog runs eight chapters: an introduction to its format and a first set of starter refactorings, then six categories covering encapsulation, moving features between objects, organizing data, simplifying conditional logic, refactoring APIs, and handling inheritance. The vocabulary is the payoff: it turns a vague sense that something is off into a specific complaint a team can act on, and every entry in the catalog is written to be applied in small steps with tests behind it. The second edition is available in Japanese translation from Ohmsha.

Editor's Note

For intermediates who want a catalog of techniques to improve working code without breaking it. Its value rises sharply if you already have testing skills; early on, use it as a reference to dip into rather than a cover-to-cover read.

Target Readers

  • Developers who can already write working code and want a named catalog of moves for improving its structure without breaking it
  • Engineers who keep flagging the same code smells in review and want the vocabulary and specific technique to fix each one
  • Teams building the discipline to refactor in small, test-backed steps rather than large rewrites

Tags

#refactoring#clean-code#code-smells

Colophon

Publisher
Ohmsha
ISBN
978-4274224546
Published
Dec 2019
List price
¥4,840incl. taxMay differ from the actual selling price on Amazon

Get this book

* The link above is an advertisement via Amazon Associates.

Prerequisites

Next Books