1

Coding Standards in C++

In this chapter, we will delve into the world of clean code and examine its crucial role in successful software projects. We will discuss the concept of technical debt and how poor-quality code can contribute to its accumulation. Additionally, we will explore the often undervalued practices of code formatting and documentation, which are crucial for maintaining a manageable and effective code base. Through this chapter, we will understand that clean code is not just nice to have but a necessity for any project.

We will discuss the importance of coding standards and introduce common conventions and best practices used in the C++ community. By the end of this chapter, you will better understand what clean code is, why ...

Get Refactoring with C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.