by dmitriid · 5y ago · 0 comments
"Just import them". From where?
> What I am much more worried about is all the packages hosted on npm. At any time Microsoft could do something
So, how does deno help?
> So, how does deno help?
By decentralizing the package hosting.
https://news.ycombinator.com/item?id=28284930
> By decentralizing the package hosting.
These are empty words that literally mean nothing. The rest is at the link so as not to have the same conversation in several places.
Litterally anywhere. On Github, on the Deno webpage, in a slack chat message. It is how the browsers has worked for ages and there's never been any issues with that. If the package has deps Deno will download them too in the same manner.
It also means that if there is any problems or dissatisfaction in how your dependencies are hosted you are free to change it to another hosting solution.
> These are empty words that literally mean nothing. The rest is at the link so as not to have the same conversation in several places.
What do you mean it doesn't mean anything? It means that there is not one single place where you have to get your dependencies from. You may think of it as something negative, but I think it's great.
So, Instead of convenience I now have to hunt for some urls somewhere.
> It is how the browsers has worked for ages
1. Deno is not a browser
2. For ages any website would try and host those libs themselves (or bundle them... and host themselves).
From development point of view having to hunt down urls "in slack messages" is a nightmare.
> If the package has deps Deno will download them too in the same manner.
In which manner? How does Deno know that a dependency X lives at url Y that was posted in a Slack channel somewhere?
> It also means that if there is any problems or dissatisfaction in how your dependencies are hosted you are free to change
How am I free to change it if a package I depend on specifies it dependency at a url x, and that package's dependencies specify them at url Y?
> What do you mean it doesn't mean anything? It means that there is not one single place where you have to get your dependencies from.
Right now with npm I'm not getting my dependencies from a single place called npmjs.org. I'm getting from a company-provided package repository. How does that work with "any random url you got from Slack"?
BTW. Developers arguing that package management is bad is a new thing to me.