-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Documentation: PascalCase
is referred to as CamelCase
#2849
Comments
This has already been discussed in #2389. The consensus was to use |
Your link is the permalink to the 1.0.0 style guide: In fact, this has been removed from the official docs. I think the closest equivalent is https://rust-lang.github.io/api-guidelines/ and https://github.com/rust-dev-tools/fmt-rfcs |
@shepmaster That's amazing! 1.0.0 style guide is the Google search result currently when searching for naming conventions so I've figured out it was current. |
Terrible consensus! PascalCase was a great standard name, very established. Why not call it CamelCaseWithInitialCapital too then? UPPERCAMELCASE |
Hi!
Currently in the rust docs naming conventions, it is recommended to use
CamelCase
for some constructs.However, camel casing is usually
camelCase
, while such capitalizing the first letter capitalized too is typically referred to asPascalCase
.While it is not false per se(
PascalCase
can be seen as a subset ofcamelCase
), it is confusing, and would be better and more accurate IMO to change occurrences of it toPascalCase
.Thanks 🤘
The text was updated successfully, but these errors were encountered: