News for hackers. Stuff that matters.
Re:How domains became backwards by polymathist on Sunday February 17, 2013 @02:54PM (#5236449)
Interesting. Now I wonder why Java decided to go the other way with a reversed domain name for packages. E.g., com.company-name.package-name
Re:How domains became backwards by syncsynchalt on Sunday February 17, 2013 @03:07PM (#5236509)
In the initial implementation package names were literally mapped to a path with the equivalent of subst(".", "/").

So in that sense the java package names are based on the hierarchy of a filesystem.

Re:How domains became backwards by greenyoda on Sunday February 17, 2013 @03:38PM (#5236636)
Also, the method name goes to the right of the class name, so the only reasonable way to have a hierarchical name that reads in a single direction is to put the most general qualifier on the left and the most specific on the right:

com.mydomain.mypackage.MyClass.staticMethod()

Re:How domains became backwards by gabipurcaru on Sunday February 17, 2013 @02:58PM (#5236469)
well, for the same reasons the urls _should_ be the other way around, plus avoiding inconsistencies with other languages I guess (don't know what languages supported dot-named packages at that time, but I don't think they were the first ones)