Skip to content

Commit

Permalink
doc: Update CODE_STYLE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gav authored and MicheleMichetti committed Mar 9, 2024
1 parent f0edcdc commit 21b12f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion documentation/CODE_STYLE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Code style guidelines

This project follows `Google C++ Style Guide` for consistency's sake: https://google.github.io/styleguide/cppguide.html

The following are the guidelines in the style guide you will use the most. In case of doubt refer to the previous link.
### Variable naming:
```cpp
std::string table_name; // OK - snake_case.
Expand Down Expand Up @@ -26,4 +30,4 @@ struct UrlTableProperties { // OK - PascalCase
AddTableEntry() // OK - PascalCase
DeleteUrl() // OK - PascalCase
OpenFileOrDie() // OK - PascalCase
```
```

0 comments on commit 21b12f8

Please sign in to comment.