Summary
Code standards are important for helping your team focus on productive things and ensuring source code can be easily maintained by all developers on your team.
While code standards don’t need to include everything, it can be helpful to codify stances on commonly contested items or best practices your team wants to make sure absolutely every change follows.
Visual Studio provides a number of features that help ensure a consistent and high-quality codebase including code formatting, code cleanup profiles, formatting on save, code analysis warning profiles, code styles at the editor level, and EditorConfigs to configure code styles inside of your editor.
In the final chapter of this book, we’ll discuss refactoring code as part of a larger organization and as part of an agile software development team.