by pornel · 5y ago · 0 comments
And if you say just use GitHub user names, you're merely relying on GitHub's support staff to sort it out for you (they're not magic, they have the same problem).
use domains? like java does for over 20 years?
Even Sun went away and left nothing but a bunch of legacy package names.
Deno Goals: Simplify the module system
- No attempt at compatibility with existing Node modules.
- Imports are relative or absolute URLs ONLY. (See Semantic Versioning)
- Imports must provide an extension.
- Remote URLs are fetched and cached indefinitely on the first load. Only if the --reload flag is provided will the resource be fetched again.
- Vendoring can be done by specifying a non-default cache dir.
https://tinyclouds.org/jsconf2018.pdfI think (verified) domains are the way to go, with some small whitelist of 'identity providers', so you could use say com.github.ojford, verifying it by logging in with GitHub OAuth rather than DNS record.
The same way that Java packaging is nothing but a big fight over who owns "com.*"?
Domains are not that great for project identifiers. Domain ownership is not permanent, but project identifiers should be.
I tend to agree. But the fact remains that you don't see fights over namespacing in Java even though everyone uses the same top-level space. I can't see how the claim "you still have the squatting problem of the top-level names. It's just now a fight over who owns `oracle/*`" holds any water.
> Domain ownership is not permanent, but project identifiers should be.
Package names aren't actually linked to domain ownership. There's nothing stopping me from releasing software under com.oracle.
So we're back to fighting who owns "com.oracle"?
It seems like no matter the approach taken to validating namespace ownership there's some drawback.