From the course: Node.js: Testing and Code Quality

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Coding conventions and standards

Coding conventions and standards

- [Instructor] The easiest way to improve code quality and specifically maintainability is to use a coding standard. But what's a coding standard? To answer that, let's step back and answer a different question. What is a coding convention? A coding convention is a set of guidelines and recommendations for writing programs in a particular language. Coding conventions typically consists of three things. The first is a programming style which usually deals with the readability of source code. The second are practices or ways to build an architect programs. The third are methods, which are the way to plan and implement a program, including requirements, design, specifications and so forth. With that in mind, how is a coding convention used? Well, a coding standard is a collection of coding conventions. They have been selected and designed specifically to produce quality code, including functional requirements and…

Contents