...

/

Coding Standards and Code Formatters

Coding Standards and Code Formatters

Learn and practice code standards and code formatters in this lesson.

Need for coding standards

Every programming language has built-in idioms and practices that collectively shape the look and feel of a codebase’s structure and contents. That’s coding style. Good style is especially important to adoption because it reduces friction between developers and makes a collective codebase easier to read.

As we can imagine, some tools can help us manage many of these elements automatically. Such tools are typically divided into two categories:

  1. Code formatters focus on code layout concerns, such as indentation, use of spaces and newlines, line length, and the like.

  2. Linters focus on code ...