christopheradams / elixir_style_guide

A community driven style guide for Elixir
4.36k stars 300 forks source link

Naming: Modules #200

Closed sepowitz closed 3 years ago

sepowitz commented 3 years ago

Hey there,

First off, I just wanted to say how helpful I've found this documentation – it's very thorough and makes for some really readable Elixir code.

One (very small) inconsistency I noticed, was in the Naming: Modules section.

Currently it states:

Use CamelCase for modules (keep acronyms like HTTP, RFC, XML uppercase).

I believe it should be:

Use PascalCase for modules (keep acronyms like HTTP, RFC, XML uppercase).

The difference being that:

camelCase uses a lowercased first letter PascalCase uses an uppercase first letter

Thanks again! Sebastian

christopheradams commented 3 years ago

Hi @sepowitz thanks for the input. We've discussed this issue before most recently in #161 and have chosen to follow the Elixir Naming Conventions documentation which uses "CamelCase".