4 ms·
Correct. Defaults matter. Also, even if you have a coverity license, you have to do the work of integrating it into your build system. cargo clippy works always
by vlovich123 1y ago
Correct. Defaults matter. Also, even if you have a coverity license, you have to do the work of integrating it into your build system. cargo clippy works always and will cover all platforms and architectures you try to build for. This is significantly harder in c++ to the point where I’ve rarely seen coverity and other static analysis tools in use in large c++ code bases.
- kstrauser 1y agoNot to mention that `cargo clippy` runs in 200ms, making it far and away the fastest such thing I've used with any language. It's a lot easier to make your code clean when the checker runs nearly instantaneously.
- vlovich123 1y agoAnd when you can pass —fix and the vast majority of suggestions are auto-applied
- kstrauser 1y agoTruly, the cargo ecosystem is unbelievably ergonomic and delightful.