What's the significance of TLD-first domain-like identifiers?

后端 未结 6 834
南旧
南旧 2021-01-21 01:06

\"TLD-first domain-like identifiers\" is a mouthful but that\'s all I can come up with.

I\'ve seen these used in various places over the years and wondered what the hist

6条回答
  •  逝去的感伤
    2021-01-21 01:29

    For the case of Java, the packages correspond directly to directory hierarchy, and it makes far more sense for the directory hierarchy to be rooted at the most general, rather than the most specific, domain identifier. Also, when reading off directory hierarchy, it is most common to read it from the top down. So I'd say the convention of flipping the order of domain components makes sense there.

提交回复
热议问题