Refactoring Chapter 5 — Introducing the Catalog

Rafael Melo
1 min readJan 18, 2020

--

The rest of the book is a catalog of refactorings. It is a collection of those most useful to have them written down. By “most useful” I mean those that are both commonly used and worthwhile to name and describe. Some have interesting mechanics which help general refactoring skills, some have a strong effect on improving the design of code.

Some refactorings are missing because they are so small and straightforward that I don’t feel they are worth writing up. Another category is refactorings that logically exist, but either aren’t used much by me or show a simple similarity to other refactorings. Also, every refactoring in this book has a logical inverse refactoring, but I didn’t write all of them up because I don’t find many inverses interesting.

--

--