Naming convention choice
Summary
We chose the WebKit style as the formatting style for the C++ code within this repository. That decision has been applied and enforced through the use of clang-format
. Nevertheless, despite WebKit defining a complete coding style, the question was asked specifically about the formatting style and not the overall style. Therefore, the naming convention was not part of the question.
Currently, the naming convention for the variables, functions and classes is not well defined, and as a consequence not followed. This is particularly true for the names containing acronyms (so frequent in GEMs...) Whichever naming convention is chosen, a simple and explicit rule about the acronyms shall be devised.
Two of the main conventions which could be followed:
- Fully embrace the WebKit style and follow its naming convention (
⛰ ) - Follow the C++ standard library naming scheme, i.e. snake case (
🏖 )
In any case, review and changes will be required.
Please, use the reactions smileys to vote. Feel free to add new proposals if desired.
What is the expected correct behavior?
The naming convention is well defined, followed and enforced.