3 ms·
This is spreading everywhere, Rust, Python, ...
by dist-epoch 1y ago
This is spreading everywhere, Rust, Python, ...
- grishka 1y agoNot 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 1y agoAlso 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 1y agoVery 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.
- szatkus 1y agoI mean, Apache Commons are still widely used. But it's just a handful of libraries maintaned by one organisation.
- kelvinjps10 1y agoBut then you depend on Microsoft for everything. I prefer python where it's battery Included but you depend on a foundation
- grishka 1y agoHasn't .net been open-source for like 10 years?
- int_19h 1y agoIt 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 1y agoBut most of the documentation and tooling is around visual studio and azure
- adamc 1y agoThe 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.
- Klonoar 1y agoRust 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)