Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DvdPlayer or DVDPlayer? HttpUrlParser or HTTPURLParser? #58

Open
tif-calin opened this issue Feb 24, 2023 · 0 comments
Open

DvdPlayer or DVDPlayer? HttpUrlParser or HTTPURLParser? #58

tif-calin opened this issue Feb 24, 2023 · 0 comments

Comments

@tif-calin
Copy link

The given examples for naming conventions conveniently avoid the hottest debates. In fact, very few style guides I've found even address this question


Relevant style guides

style guide link
AirBnB, JavaScript Style Guide https://github.com/airbnb/javascript#naming-conventions
Google, Java Style Guide https://google.github.io/styleguide/javaguide.html#s5.3-camel-case
Microsoft, General Naming Conventions https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/general-naming-conventions
kettanaito/naming-cheatsheet https://github.com/kettanaito/naming-cheatsheet

Other variables to consider

  • "Shoot Laser Beam" (once upon a time "laser" was an acronym and it's now become a word)
  • "GUI Generator" (gui might be considered sorta "in-between". I think it's slowly transitioning to a word)
  • "ID Parser" (ID isn't an acronym but an abbreviation)
  • "System.IO" (two-letter acronyms like "IO" are particularly contested and Microsoft even has specific rules for them)
  • XMLHttpRequest (an actual web standard name, smh. What's to be done when you have two acronyms right next to each other?)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant