←back to thread

1369 points universesquid | 1 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. szatkus ◴[] No.45170379[source]
I mean, Apache Commons are still widely used. But it's just a handful of libraries maintaned by one organisation.