O'Reilly logo

Scala Test-Driven Development by Gaurav Sood

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Red-Green-Refactor

I first heard the term "refactor mercilessly" from the person responsible for hand-holding and inducting me into the Agile process. It was originally coined as part of eXtreme Programming (XP), which is one of the several popular Agile processes that involve very short iterations, continuous releases, and paired-programming. After spending more than a decade with these processes, I can undoubtedly say that there is no way to refactor other than mercilessly. You can't do it half-heartedly or incompletely, as it accumulates as tech debt, but at some stage there is no other way but to do a big bang refactoring exercise. If you have been using Agile previously then you would know how easy it is to ignore refactoring and then end ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required