3 ms·
> The time people spend fighting the Rust compiler for a project To be clear, this isn't time you've spent yourself. You're saying this based on hearsay that o
by nindalf 2y ago
> The time people spend fighting the Rust compiler for a project
To be clear, this isn't time you've spent yourself. You're saying this based on hearsay that other people are struggling with this.
Not that I'd convince you, but this is mostly an issue that beginners face. Folks who can get past that hump enjoy a plateau of productivity.
- bonzini 2y agoAnd really it's not so much fighting the compiler as it's understanding your code better—in ways that help you even when writing C. The times that you do fight the compiler it will suggest the right thing (add clone, add &, add *, import a type or trait).
- kstrauser 2y agoThat's been my experience. The troubles I've had with Rust were when I was trying to do things the way I would've in C, and either rustc or cargo clippy told me that my idea is bad and there's a better way. I feel like I've learned a lot about better coding in general from it.