3 ms·
Can you elaborate on the design flaws that you perceive in Cargo?
by nieksand 7y ago
Can you elaborate on the design flaws that you perceive in Cargo?
- umanwizard 7y agoThe biggest flaw is that it makes taking new dependencies easy. I would prefer that it be hard, like in C++, so people think before doing it. The second biggest flaw is that it couples package management to a programming language, despite those being almost completely unrelated concerns.
- vmchale 7y ago> The second biggest flaw is that it couples package management to a programming language, despite those being almost completely unrelated concerns. Yes it's frustrating. I wish it was more decoupled, maybe with package standards like Haskell tried to do with Cabal. It makes it hard to use Rust as a drop-in replacement for C. I can add a few C files to a Haskell project without much problem, but most rust code goes via cargo.