mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Coding style: PascalCase for classes
Codify our unspoken practice in the coding style document. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
d27b6805f3
commit
65df9ca7b0
1 changed files with 10 additions and 5 deletions
|
@ -94,9 +94,14 @@ other editors that implement this coding style, please add them here.
|
|||
```
|
||||
variableInCPlusPlus
|
||||
```
|
||||
for variable names and PascalCase
|
||||
```
|
||||
ClassInCPlusPlus
|
||||
```
|
||||
for names of classes and other types
|
||||
|
||||
where the two meet, use your best judgment and go for best consistency
|
||||
(i.e., where does the variable "originate")
|
||||
(i.e., where does the name "originate")
|
||||
|
||||
* there is a strong preference for lower case file names; sometimes conventions
|
||||
or outside requirements make camelCase filenames the better (or only) choice,
|
||||
|
|
Loading…
Reference in a new issue