Best practice when using Reverse-DNS Package Notation and vanity domains?
-
28-04-2021 - |
Frage
When using reverse-DNS package notation (such as com.apple.ostype
), what should one do when the domain name is designed to be read in its entirety (such as http://read.me
)?
Strictly following the standard results in a package which, while syntactically correct, loses the desired overall identity—conversely, not following the standard retains identity but loses syntactical clarity (me.read.MyPackage
versus read.me.MyPackage
).
What is the common practice?
Lösung
The common practice is:
me.read.MyPackage
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow