Refactoring ◾ 149
Summary
Refactoring reorganizes the structure of software according to the needs of soft-
ware evolution. It is done either before (prefactoring) or after (postfactoring)
actualization. Prefactoring makes work on the change easier; hence, it is driven
by the self-interest of the programmers. Postfactoring, on the other hand, makes
work easier for future programmers; therefore, it requires a responsible attitude
on the part of the programmers. ere is a large selection of specific refactor-
ings. Examples of important refactorings that were covered in this chapter are
“Rename an Entity,” “Extract a Base Class,” “Extract Function,” and “Extract
Component Class.”
Further Reading and Topics
ere are as many different post ...