-
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
Update RFC 0430 to allow underscores between numbers in CamelCase names #2478
Conversation
See rust-lang#46907
@@ -46,6 +46,9 @@ precisely, the proposed (and mostly followed) conventions are: | |||
In `UpperCamelCase`, acronyms count as one word: use `Uuid` rather than | |||
`UUID`. In `snake_case`, acronyms are lower-cased: `is_xid_start`. | |||
|
|||
In `UpperCamelCase` names multiple numbers can be separated by a `_` | |||
for clarity: `Windows10_1709` instead of `Windows101709`. |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
This change seems like a no-brainer to me; all for it 👍 |
I think this is T-lang, not T-libs; it's about language naming conventions. |
@rfcbot fcp merge Seems like a simple and logical rule and it's already implemented. Let's do it. |
Team member @nikomatsakis has proposed to merge this. The next step is review by the rest of the tagged teams: No concerns currently listed. Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. |
See rust-lang/rust#46907
Note: This is already implement and in stable (without RFC). It just updates the text to avoid confusion and to make this better known.
Found this while editing #2457.