Skip to Content
Refactoring to Patterns
book

Refactoring to Patterns

by Joshua Kerievsky
August 2004
Intermediate to advanced
400 pages
8h 46m
English
Addison-Wesley Professional
Content preview from Refactoring to Patterns

Foreword

Design Patterns described several ways to use patterns. Some people plan for patterns long before they write any code, while other people add a pattern after a lot of code has been written. The second way of using patterns is refactoring, because you are changing the design of the system without adding features or changing the external behavior. Some people put a pattern into a program because they think the pattern will make the program easier to change, but other people do it as a way to simplify the current design. If code has been written, then both of these are refactorings, because the first is refactoring to make a change easier, while the second is refactoring to clean up after a change.

Although a pattern is something you can ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Refactoring at Scale

Refactoring at Scale

Maude Lemaire
API Design Patterns

API Design Patterns

John J. Geewax
Refactoring: Improving the Design of Existing Code

Refactoring: Improving the Design of Existing Code

Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts

Publisher Resources

ISBN: 0321213351Purchase book