Automatic formatters like `mix format` move discussions about coding style to the implementers of the formatter or language, which is where those should be.

They also rid you of having to reformat code yourself. Type code, run the formatter (automatically), commit. Done.

Enforce a format by adding a check to CI, even if you don’t fully agree with its rules. That way, you at least _have_ a format. If you really care, configure it.

Case in point: I dislike `rebar3_format`’s indentation rules, for example ( 🤷‍♂️

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!