News for hackers. Stuff that matters.
Re:The Everything NPM Package by richbell on Saturday January 06, 2024 @06:11PM (#38896557)
Namespaces, for one.
Re:The Everything NPM Package by strken on Saturday January 06, 2024 @07:52PM (#38897214)
Namespaces in Maven seem like they're clunky. The pseudo-DNS thing where the first section is an actual domain but the second is whatever you want is quite janky, as is not matching the namespace to the package. Plus domains are transferable themselves and it seems like a bad idea to use them as identifiers.

Not to say that npm shouldn't have had namespaces by default, but I think there's good reason not to blindly do everything the way the Java community did.

Re:The Everything NPM Package by richbell on Saturday January 06, 2024 @09:28PM (#38897807)
> Not to say that npm shouldn't have had namespaces by default, but I think there's good reason not to blindly do everything the way the Java community did.

I'm not saying that they should have blindly copied Java, but they should have had something.