Why the key is "readability-identifier-naming.TypeAliasCase" has the value "camelCase"? #2267
Unanswered
shrek1402
asked this question in
Getting started
Replies: 1 comment
-
These exceptions are specifically for STL API compatibility. In general, we're trying to use https://github.com/carbon-language/carbon-lang/blob/trunk/docs/project/cpp_style_guide.md#general-naming-rules to try to match what we're considering for Carbon. Switching to lower case would force us to make everything else exceptions, and STL API compatibility makes up a minority of naming decisions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why are the keys "readability-identifier-naming.TypeAliasCase" and "readability-identifier-naming.TypedefCase" has the value "camelCase"?
Wouldn't it be logical to use the value "lower_case"? Then you wouldn't have to use "// NOLINTNEXTLINE(readability-identifier-naming)" often.
Beta Was this translation helpful? Give feedback.
All reactions