Skip to content
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 'capitalize' with 'uppercase' #1972

Merged
merged 1 commit into from
Dec 18, 2018
Merged

Conversation

honzajavorek
Copy link
Contributor

@honzajavorek honzajavorek commented Dec 18, 2018

The examples and the reasoning indicates the author of the rule meant uppercase instead of capitalization. According to Wikipedia, capitalization is

writing a word with its first letter as a capital letter (uppercase letter) and the remaining letters in lower case

while the rule apparently tries to prevent exactly that.

The examples and the reasoning indicates the author of the rule meant uppercase instead of capitalization. According to Wikipedia, capitalization is "writing a word with its first letter as a capital letter (uppercase letter) and the remaining letters in lower case", while the rule apparently tries to prevent exactly that.
Copy link
Collaborator

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While "capitalized" is still correct, since an acronym and initialism are composed of characters, all of which should be capitalized - "uppercased" is indeed less ambiguous. Thanks!

@ljharb ljharb merged commit 5d25a2e into airbnb:master Dec 18, 2018
@honzajavorek honzajavorek deleted the patch-1 branch December 19, 2018 10:44
@honzajavorek
Copy link
Contributor Author

Thanks! Yup, the explanation makes sense, but I hope this is clearer for everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants