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
From the course: Node.js: Testing and Code Quality
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
What is code quality?6m 57s
-
(Locked)
Coding conventions and standards6m 38s
-
(Locked)
Creating and enforcing coding standards7m 27s
-
(Locked)
Unit, integration, and functional testing10m 30s
-
(Locked)
Testing frameworks5m 53s
-
(Locked)
TDD and BDD test specifications5m 12s
-
(Locked)
Assertions for correctness4m 32s
-
(Locked)
Challenge: Organize your tests58s
-
(Locked)
Solution: Organize your tests1m 46s
-
-
-
-
-
-