| ▲ | mort96 an hour ago | |||||||
Well yeah. When things become easier, people do it more, whether it's good or bad. Therefore, good things should be easy and bad things should be hard. Having thousands of transitive dependencies in a super deep dependency graph is bad. I really like Rust, but I think there's a convincing argument to be made that if you had to manually run 'cargo add' for every dependency, not just the direct ones, its ecosystem would be in a better state. Those transitive dependencies are part of your project. You should be aware of them and have a relationship with them and vet them. | ||||||||
| ▲ | arendjr 28 minutes ago | parent [-] | |||||||
There’s lots of things we “should” do but don’t. I can agree with you that having lots and lots of transitive dependencies isn’t a good thing, but the thing is, it does remove a lot of day-to-day headaches for people and allows them to work at speeds they couldn’t before. That’s a good thing for them that they value at the expense of most other things. People want results first, optimisation later. This gives them that. There’s also a good argument to be made that you shouldn’t always give people what they want, but it’s easy to see why Cargo is so popular. | ||||||||
| ||||||||