O'Reilly logo

Extreme Programming Installed by Chet Hendrickson, Ann Anderson, Ron Jeffries

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

Minimize Number of Classes and Methods

When all these things are done, if there are classes and methods we no longer need, remove them. This won't happen very often—programming with tests first and then expressing each intention once and only once generally minimizes classes and methods.

We put this rule here to remind ourselves that it is last. Minimize classes and methods but not at the expense of correctness, expressiveness, or duplication of code.

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