←back to thread

1369 points universesquid | 4 comments | | HN request time: 0s | source
Show context
stathibus ◴[] No.45169926[source]
As an outsider to the npm ecosystem, reading this list of packages is astonishing. Why do js people import someone else's npm module for every little trivial thing?
replies(11): >>45169990 #>>45169999 #>>45170008 #>>45170014 #>>45170015 #>>45170016 #>>45170038 #>>45170063 #>>45170879 #>>45170926 #>>45170953 #
dist-epoch ◴[] No.45170015[source]
This is spreading everywhere, Rust, Python, ...
replies(3): >>45170086 #>>45170495 #>>45171565 #
grishka ◴[] No.45170086[source]
Not Java, thankfully! Libraries containing 1-2 trivial classes do exist, but they're an exception rather than a rule. Might be that the process of publishing to Maven Central is just convoluted enough to deter the kinds of people who would publish such libraries.
replies(1): >>45170299 #
Deukhoofd ◴[] No.45170299[source]
Also because Java, .NET, etc. all have very expansive standard libraries. You don't need to import most stuff, as it's already built-in.
replies(3): >>45170367 #>>45170379 #>>45171180 #
1. kelvinjps10 ◴[] No.45171180[source]
But then you depend on Microsoft for everything. I prefer python where it's battery Included but you depend on a foundation
replies(1): >>45171535 #
2. grishka ◴[] No.45171535[source]
Hasn't .net been open-source for like 10 years?
replies(2): >>45172554 #>>45178261 #
3. int_19h ◴[] No.45172554[source]
It is, but it's still firmly controlled by Microsoft, particularly when it comes to ecosystem evolution. Some people find that uncomfortable even if the source is open - legal right to fork is one thing, technical ability to do so and maintain said fork is another.
4. kelvinjps10 ◴[] No.45178261[source]
But most of the documentation and tooling is around visual studio and azure