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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access