What should we use for naming functions/variables/etc.? #2488
Replies: 2 comments
-
|
What about template parameters and macros? I would stick to what is suggested in Cpp best practices. My personal preference leans towards the convention used in the standard library and BOOST (i.e. the second style from the link above). Have a look at C++ Core Guidelines. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I just came across this repo and I really like it, it has tons of useful info. How active are the code reviewers for this github repo? I just see a bunch of open requests still outstanding. I just submitted one CR for a minor fix/tweak in the linked_list.cpp. Thanks!! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I didn't notice early (thanks to @realstealthninja for spotting this), but we don't have a rule/convention of what should we use for variables and functions: PascalCase, camelCase, or snake_case.
What do you think we should use? Feel free to vote in the poll below. 🙂
6 votes ·
Beta Was this translation helpful? Give feedback.
All reactions