Comment on In java, what is the purpose of `com.` In package names
fubo@lemmy.world 1 year ago
They used DNS domains as a namespace to keep one company’s work from colliding with another.
Comment on In java, what is the purpose of `com.` In package names
fubo@lemmy.world 1 year ago
They used DNS domains as a namespace to keep one company’s work from colliding with another.
Zephyrix@artemis.camp 1 year ago
To expand on this, it’s the naming convention that Java defines.
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.