6 ms·
do we really need TLDs in namespaces it's almost as bad as putting HTTP protocol in XML namespaces.
by plaguuuuuu 11y ago
do we really need TLDs in namespaces
it's almost as bad as putting HTTP protocol in XML namespaces.
- deleted 11y ago[deleted]
- GFK_of_xmaspast 11y agoWorks ok for java?
- recursive 11y agoYes, it works ok. But there are plenty of schemes that both work and are sane.
- manyxcxi 11y agoHow is TLD namespacing not sane? If you own the domain you own the package(s) in that namespace. It's pretty easy and fairly trustworthy to identify a TLD. When Stickman Co comes along, there's not a fight about the package name and the original package maintainer doesn't get elbowed out of the way.
- jasonkostempski 11y agoI'm pretty sure domains have been transferred to their "rightful owner" even more than NPM package names have.
- erik14th 11y agoI think TLD is ok, but I like Go's namespacing even better. It uses repos, so you can use both private and public repos. And it's actually where the code "live".
- sha90 11y agoGit repos change way more often than domain or company names do. Moving from code.google.com to github.com, moving a project from a user to an org, transferring across orgs, renaming an org. All of these things have happened to me in a single Golang project. Ironically, the code.google.com -> github move was actually Golang stdlib code itself.
- TeMPOraL 11y agoDomain names are transient. They come and go, changing owners throughout their lifetime. Code, on the other hand, lives on. If you want namespacing to be tied to Internet domains then I want the right to take over your code after you forget to renew your domain.
- imron 11y agoI've always found it to be a pretty sane scheme. What problems do you have with it?
- darkstar999 11y agoCoupling it to a TLD is arbitrary. Does Sandra own sandra.com? What if she doesn't have a website at all? It's kind of a silly convention.
- GFK_of_xmaspast 11y agoYou can get a free domain name without a lot of trouble.
- gcb0 11y agono you can't. at most you can borrow one.
- qopp 11y agoThis is uncommon, but in this case you can use your email address or github.io, etc.
- TeMPOraL 11y agoIt's more common than not to not have a domain. Most programmers I know don't have a personal domain they own, and not all code is written for work (most open-source code isn't, in particular).
- tokenizerrr 11y agoSo put your open-source code on github and use something like <githubUserName>.github.io. And if it's for work you use your work groupId. If it's personal but not public, who cares what groupId you use? Just pick something. What's the problem?
- Wevah 11y agoAnd OS X/iOS app identifiers, etc.
- walterstucco 11y agoNO!