Search⌘ K
AI Features

Coding Standards and Code Formatters

Explore the importance of coding standards and the use of code formatters in Elixir to maintain consistent code style. Understand how these tools reduce style disputes, simplify onboarding, and help teams focus on meaningful code quality, while preserving code semantics across projects.

We'll cover the following...

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 ...