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

How to name packages in Java? #18

Open
mrkn opened this issue Mar 11, 2014 · 1 comment
Open

How to name packages in Java? #18

mrkn opened this issue Mar 11, 2014 · 1 comment

Comments

@mrkn
Copy link
Contributor

mrkn commented Mar 11, 2014

There is no package naming convention in Java style guide.
I want to know how to name packages with two or more words.

Which of these is better?

  • com.cookpad.fooBarBaz
  • com.cookpad.FooBarBaz
  • com.cookpad.foo_bar_baz
  • com.cookpad.foobarbaz
@sys1yagi
Copy link

I'm almost use the following styles.

com.cookpad.foobarbaz

Google Java Style also recommends this style.

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

No branches or pull requests

2 participants