The Importance of Style

images/programming/code.png

Just like in writing, style makes a big difference in the clarity of your programming. Style is important because while computers run the programs, it’s people like you and me who read and maintain them. So the clearer we can make our code, the easier it’s going to be to modify, change, and support (not to mention contain fewer bugs).

To help you with your style, we are going to look at three things programmers constantly do to increase the quality of their code. Specifically, we are going to look at naming, spacing, and removing duplication.

Get The Way of the Web Tester 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.