From the course: ASP.NET MVC: Building for Productivity and Maintainability

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Examining your applications to find opportunities for improvement

Examining your applications to find opportunities for improvement

From the course: ASP.NET MVC: Building for Productivity and Maintainability

Start my 1-month free trial

Examining your applications to find opportunities for improvement

- [Lecturer] In the previous video I referred to the notion of an ideal state of true separation of concerns, and a more maintainable code base. And by that I mean I code base that you and your team are able to modify and extend, with a high level of confidence that you aren't cranking existing functionality and without taking a significant amount of time to do so. Though there are a variety of objective code quality metrics such as cyclomatic complexity, coupling and cohesion, there are also a handful of other indicators or smells that I look for that usually mean that there might be some room for improvement. Top among these indicators are magic strings and numbers. These are the constant variables that are hard-coded right in line in your code and without even a variable name to provide some context as to what they might mean, they often end up being confusing to other developers. Or, even worse, these values might be repeated in many places in the code and sometimes they might…

Contents