2 ms·
Hey, I also started learning Rust not so long ago (~5 months). By the sounds of it didn't have quite as much trouble as you're experiencing. Having said that,
by ideasman42 10y ago
Hey, I also started learning Rust not so long ago (~5 months).
By the sounds of it didn't have quite as much trouble as you're experiencing.
Having said that, I found experienced Rust developers grossly under estimate how hard it is for newcomers to the language (having asked questions on Reddit's r/rust which gave the impression these are some concepts developers can learn, then move on without too many troubles).
A re-occurring problem I found is while everything I could read made sense on paper - composing concepts to make real-world, you run into _many_ random problems that you don't even have the vocabulary to properly question or troubleshoot.
I found this works well:
* Ask general big-picture questions on Reddit.
* Ask spesific technical questions on StackOverflow.
* Ask various short/general questions on IRC (#rust).
As for fighting the borrow checker and compiler errors generally - ask some more experienced Rust developers if you're taking the wrong approach entirely.
If this project is too complicated, try pick some simple projects where you're not continuously running into borrow checking errors. You'll still hit them from time-to-time, but then at least you're not overwhelmed by compiler errors.