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

后端 未结 6 832
南旧
南旧 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:25

    No, it's not pedantry, it's to create a namespace.

    There might be other 3 party developers/programs/etc. that also could create a iTunesHelper.plist or a SQLRunner.java class. You prefix these with your own namespace, e.g. your domain name to create a reasonably unique name so com.oracle.SQLRunner.java is different and doesn't clash with org.postgresql.SQLRunner.java

提交回复
热议问题