-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[C++] uniform identifiers naming style. #1845
Comments
_xxx
variable names appearing in the function signature. I'm thinking to do something like apache/arrow, which only use xxx_
as the name of private class member variables. In this way, we can get rid of the weird case like this.
The following
But there is a problem that some protected/public variables need to be initialized on construction, what should the naming of |
Could we add |
Sorry for my confusing expression. What I mean just like below orc/c++/src/ConvertColumnReader.cc Lines 26 to 33 in e1f185e
The |
What about this?
|
Can we borrow some existing styles from other open source projects? |
We could leverage https://clang.llvm.org/extra/clang-tidy/checks/readability/identifier-naming.html for variable naming. Apache Arrow used cpplint approach which we cannot borrow: https://github.com/apache/arrow/blob/main/cpp/build-support/cpplint.py |
Originally posted by @wgtmac in #1761 (comment)
The text was updated successfully, but these errors were encountered: