-
^[0-9] package name?
Hello, I wasn't able to formulate a good keyword search for this question , so apologies if it's come up a million times before.
Given a&&b where:
a) package names should adopt a "reverse domain" standard e.g.
com.flashkit.utils
b) packages, classes in fact anything can't begin with a number.
What is the standard way to name a package originating from a domain with the lack of foresight to avoid beginning with a number. e.g.
com.4sightlacking.utils
Many thanks.
Last edited by BodBod; 11-24-2007 at 02:47 PM.
Reason: I removed my guess to avoid influencing answer ;-)
-
I was thinking _underscores. e.g.
com.4sightlacking.utils
becomes
com._4sightlacking.utils
Did a bit of digging and this seems to be inline with Sun's approach:
http://java.sun.com/docs/books/jls/s...kages.doc.html - see 7.7 at the very bottom.
I couldn't find much else to support this though so would still appreciate a second opinion. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|