Comment on In java, what is the purpose of `com.` In package names
Zephyrix@artemis.camp 1 year agoTo expand on this, it’s the naming convention that Java defines.
Package names are written in all lower case to avoid conflict with the names of classes or interfaces.
Companies use their reversed Internet domain name to begin their package names—for example, com.example.mypackage for a package named mypackage created by a programmer at example.com.
https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html
orclev@lemmy.world 1 year ago
Further it isn’t always
com
, you’ll often seenet
,org
, and rarely evenio
show up as the base package. All that said with the introduction of modules and some of the other recent changes I’m not sure how much longer we’re going to see the reversed DNS naming system stick around.qaz@lemmy.world 1 year ago
I’ve quite often seen people shoehorn their Github account into this format. com.github.username.projectname is quite a common site for Flatpak packages.