O'Reilly logo

Refactoring with Microsoft Visual Studio 2010 by Peter Ritchie

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

Chapter 3. Improving Code Maintainability

In the previous chapter, we discussed code readability and how refactoring with a goal to improving readability helps make code easier to understand and easier to change. In this chapter, we'll continue on a similar note with code maintainability. We'll continue our exploration of code smells and we'll discuss various topics related to code maintainability and how to refactor to improve code maintainability, including the following:

  • Automated unit testing
  • Feature Envy code smell
  • Contrived Complexity code smell
  • Don't Repeat Yourself
  • Inappropriate Intimacy code smell
  • Lazy Class code smell
  • Detecting maintainability issues

Code maintainability

Code maintainability is very dependent on code readability. Code readability ...

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