News for hackers. Stuff that matters.
Re:The lack of namespaces on crates.io is a feature by steveklabnik on Friday September 11, 2020 @01:08PM (#24444863)
I agree with a lot of this perspective. It's also directly relevant to our situation, because we are basically in exactly that place now, and dealing with these problems is something that proponents of adding namespaces need to navigate.
Re:The lack of namespaces on crates.io is a feature by didibus on Friday September 11, 2020 @01:17PM (#24444979)
This is the only good argument I've heard yet for not adding namespace. And maybe it's a defeating argument, maybe Crates is doomed to not have namespace due to the cost of putting them in after the fact.
Re:The lack of namespaces on crates.io is a feature by lucideer on Monday September 14, 2020 @06:38AM (#24468636)
I'm not sure you followed the above 2 points, or perhaps read them through tinted glasses.

I wasn't arguing that npm's namespacing system is worse than their initial system, nor that their switch to namespacing was a mistake.

The current npm namespaced system, with flaws, is head-and-shoulders better than the previous flat system.

You're saying you did "look and learn". If by that you mean you looked at the end product (npm's is seriously flawed) without looking at the journey to that product (npm's is still a huge improvement over what they started with), then you're not going to learn much from that kind of "looking".

I highlighted Composer/Packagist in a sibling comment as a system you should look and learn from (w.r.t. namespaces).

Choosing to only look at flawed systems that started flat seems like you're just being selective to support your own thesis.

Re:The lack of namespaces on crates.io is a feature by lucideer on Friday September 11, 2020 @01:26PM (#24445100)
PHP and it's ecosystem has a lot of problems, but I think Composer/Packagist is as surprisingly exemplary example of how to go about structuring package management.
Re:The lack of namespaces on crates.io is a feature by lotyrin on Friday September 11, 2020 @04:32PM (#24447038)
Except for the decision to not tackle solutions for native extensions.