Section 2

Walking

My grandmother started walking five miles a day when she was sixty. She's ninety-seven now, and we don't know where the heck she is.

– Ellen DeGeneres

Chapter 6

Design 2 – Refactoring

Refactor: not because you know the abstraction, but because you want to find it.

– Martin Fowler

Refactoring, for me, used to mean something like, "Let me bring the bulldozer and fix all this code." I remember spending nights breaking everything apart, changing the design, and then bringing it all together again. In this process, I would easily have hundreds of tests failing while I was changing the design. This was what I called refactoring. Then, one day, I read a tweet saying something like, "Refactoring is about changing the design ...

Get Agile Technical Practices Distilled now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.