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 you can imagine, some tools can help you manage many of these elements automatically. Such tools are typically divided in two categories:

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

  • Linters focus on code quality and code structure concerns that go beyond layout, such as function and variable names.

The Elixir community embraced linters years ago ...

Get Adopting Elixir now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.