开发者

Projects/Package Naming Convention? [closed]

开发者 https://www.devze.com 2023-03-24 21:14 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reas开发者_Python百科onably answered in its current for
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reas开发者_Python百科onably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I just know only naming convention of variable, constant, method... but I don't know naming convention of project and package. Anybody can help me ? Addition, name of project should have white space ? Thanks very much !


In Java, package names are lowercase, no spaces. See http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html

You probably don't have to be so fussy with the project names. My recommendation is PascalCase, although I've seen some like this one that are camelCase (which I find odd). Sun just uses capitalized phrases for their project names.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号