C H A P T E R 3
Introduction to Refactoring
Due to the strong practical nature of refactoring and the essentially empirical nature of human knowledge, we want to provide you with an example of what all this refactoring is about. Refactoring is a practice addressed to some of the main object-oriented development principles, so we think it best for the reader is to see a real example before diving deep into the refactoring techniques list.
In this chapter we'll try to give you an idea of what refactoring is and what could it mean to developers like us.
The Concept: What Refactoring Is
Everyone can understand the following expression:
(a + b)(a ...
Get Pro PHP Refactoring now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.