1 Introduction

Sight is a faculty; seeing, an art.

— George Perkins Marsh

In this book, we set as our goal to learn how to judge the quality of software code. Having mastered this art, we’ll then be able to apply our newfound sense to the code we write ourselves and to the code written by others, aiming to assess its quality aspects and improve what we find lacking. We can also use our acquired knowledge of code quality when we discuss implementation alternatives with our colleagues: ideally, nudging our project toward the most appropriate direction.

1.1 Software Quality

We can view software quality from the point of its specifications and define it as the degree to which it meets the specified requirements, or we can also take people into ...

Get Code Quality 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.