elixir-style-guide
elixir-style-guide copied to clipboard
Add example for leading underscore in function names
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.
I would go with
Bad: def _parse_contents(data)
Good:
@doc false
def parse_contents(data)
Updated. How does that look?