| ▲ | dist-epoch 4 days ago |
| This is spreading everywhere, Rust, Python, ... |
|
| ▲ | Klonoar 4 days ago | parent | next [-] |
| Rust is an interesting case to me. There are certainly a lot of libraries on crates.io, but I’ve noticed more projects in that ecosystem are willing to push back and resist importing unproven crates for smaller tasks. Most imported crates seem to me to be for bigger functionality that would be otherwise tedious to maintain, not something like “is this variable an array”. (Note that I’m not saying Rust and Cargo are completely immune to the issue here) |
|
| ▲ | grishka 4 days ago | parent | prev | next [-] |
| 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. |
| |
| ▲ | Deukhoofd 4 days ago | parent [-] | | 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. | | |
| ▲ | tracker1 4 days ago | parent | next [-] | | Very true... I'm more experienced with .Net, but usually when you bring in something, it's much more of a compositional library or framework for doing something... like a testing harness (XUnit), web framework (FastEndpoints), etc. No so much in terms of basic utilities, where the std library and extensions for LINQ cover a lot of ground, even if you aren't using LINQ expressions themselves. | |
| ▲ | kelvinjps10 4 days ago | parent | prev | next [-] | | But then you depend on Microsoft for everything. I prefer python where it's battery Included but you depend on a foundation | | |
| ▲ | grishka 4 days ago | parent [-] | | Hasn't .net been open-source for like 10 years? | | |
| ▲ | int_19h 4 days ago | parent | next [-] | | 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. | |
| ▲ | kelvinjps10 3 days ago | parent | prev [-] | | But most of the documentation and tooling is around visual studio and azure |
|
| |
| ▲ | szatkus 4 days ago | parent | prev [-] | | I mean, Apache Commons are still widely used. But it's just a handful of libraries maintaned by one organisation. |
|
|
|
| ▲ | adamc 4 days ago | parent | prev [-] |
| The difference, at least in languages like Java or Python, is that there is a pretty strong "standard" library that ships with the language, and which one can assume will be kept up-to-date. It is very hard to assume that for NPM or Rust or any other crowd-sourced library system. |