EDIT: Let me just take a sentence out of my original post and place it in bold at the top so that this doesn't get marked duplicate:
I understand the origin of "com" (Sun set it as a convention to use your TLD in reverse, etc, so you have a unique package name) and what I'm wondering at this point is whether ordinary solo devs with no TLD to speak of are still conventionally expected to create an encapsulating top level
com
folder just to meet that convention.
For example, I currently have my java files contained in a directory called JavaProject
. I guess that makes the current package name JavaProject
also. Do I need to place the JavaProject
directory inside a parent com
directory for no reason other than to look "normal"? It doesn't seem to serve any practical purpose that I can tell. Am I wrong?
Note, I am not using an IDE like Eclipse right now, I am just working with a text editor and the command line and creating my files and packages by hand.