-
Notifications
You must be signed in to change notification settings - Fork 2
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
Replace CamelCase
with Camel_snake_case
#177
Comments
FWIW, the resolution of the linked issue (which was over 2 years ago) doesn't look to me like a decision to consistently use snake case for all module and constructor names in the standard library, only an observation that one camelcase module that was going to be added to the standard library had been renamed (for unspecified reasons). Is there an explicit policy to use snake case everywhere in the standard library? And not just for module names but also for constructor names? As pointed out in that issue, there are still other camelcase modules in the standard library, such as |
Not that I object to the change -- I prefer snake case myself, except sometimes for very short identifiers -- I'm just curious. |
@mikeshulman That's correct, but I imagine that it's socially difficult to introduce even more inconsistencies from now on. Since the introduction of The official programming guidelines have a rule saying "Separate words by underscores", but it's not 100% clear whether that rule should apply to modules and constructors. However, it's certainly not wrong to use |
@mikeshulman @kentookura The OCaml team has decided to go with
Camel_snake_case
for the standard library and I'd like to follow suit. Given that we will introduce so many breaking changes in version 0.4.0, I feel it's a reasonable time to make the change.The text was updated successfully, but these errors were encountered: