Chapter 12: Code Quality
There are many aspects of code quality. We can talk about efficient code, which is code that runs fast or doesn't waste resources such as memory. It can also be source code that is easy to read and understand for us humans and therefore is easy to read and maintain. In this chapter, we'll talk about this and look at some best practices for writing high-quality code.
We will also look at some examples of things we should try to avoid if we want to write high-quality code.
In this chapter, we will learn about the following topics:
- Understanding what code quality is
- Writing readable code
- Writing efficient code
- Understanding that smart code is not always smart
- Understanding some of the best practices for writing quality ...
Get Computer Programming for Absolute Beginners 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.