elixir-style-guide
elixir-style-guide copied to clipboard
An opinionated Elixir style guide
Add an example for leading underscores in function names. I've seen examples of python-like leading underscores in function names to denote a function is private to the module.
> `String.strip/1 is deprecated. Use String.trim/1 instead`
It would be very useful to pinpoint the differences from the most popular https://github.com/christopheradams/elixir_style_guide guide in the readme file.
From [this section](https://github.com/lexmag/elixir-style-guide#parens-in-zero-arity-types), we know that with zero-arity types, we must use parens. This is the case for the following examples: ``` type :: any() # the top type, the...