Rust can be difficult to learn and frustrating, but it's also very exciting
1–10 of 282 posts
Re: Rust can be difficult to learn and frustrating, but it's also very exciting
#2Re: Rust can be difficult to learn and frustrating, but it's also very exciting
#3Rust is one of those languages that I just can't see myself ever working with (I mostly do web dev), but it's a language I am really glad I learned and has made me a better overall developer.
Re: Rust can be difficult to learn and frustrating, but it's also very exciting
#4Re: Rust can be difficult to learn and frustrating, but it's also very exciting
#5Rust is one of those languages that I just can't see myself ever working with (I mostly do web dev), but it's a language I am really glad I learned and has made me a better overall developer.
Re: Rust can be difficult to learn and frustrating, but it's also very exciting
#6Can anyone recommend exercises for learning a new language. For example, something like "implement a class with these methods", or implement a function that does this. Something that is realistic, should only take an hour or two to implement for a competent programmer, requires you to learn more complicated features of a language, yet I can finish before getting bored or frustrated?
But surely it's going to depend somewhat on the language and what things are easy/hard to do in that language?
Re: Rust can be difficult to learn and frustrating, but it's also very exciting
#7Can anyone recommend exercises for learning a new language. For example, something like "implement a class with these methods", or implement a function that does this. Something that is realistic, should only take an hour or two to implement for a competent programmer, requires you to learn more complicated features of a language, yet I can finish before getting bored or frustrated?
Re: Rust can be difficult to learn and frustrating, but it's also very exciting
#8Re: Rust can be difficult to learn and frustrating, but it's also very exciting
#9Can anyone recommend exercises for learning a new language. For example, something like "implement a class with these methods", or implement a function that does this. Something that is realistic, should only take an hour or two to implement for a competent programmer, requires you to learn more complicated features of a language, yet I can finish before getting bored or frustrated?
Depending on the interface, this tends to exercise language and runtime features like: string handling and parsing, event handling, conditionals / pattern matching, etc. "Calculator" is also a big enough problem space that you can come back to it to try out more interesting language features (e.g. using Rust enums to model your calculator's operations).
Re: Rust can be difficult to learn and frustrating, but it's also very exciting
#10Rust is one of those languages that I just can't see myself ever working with (I mostly do web dev), but it's a language I am really glad I learned and has made me a better overall developer.
you may want to have a look at Rocket https://rocket.rs/ , you won't be disappointed
Rocket's biggest feature is their flashy website, in my opinion. Their website is really nice looking and the self-assured marketing is convincing to readers.
Actix-Web seems like a more mature framework (I don't expect my application to randomly break), it's asynchronous (so it's really fast) and it works on stable Rust. Warp and Tower Web look like promising async frameworks, but they're not very mature yet. Rouille is a pretty stable option for a simple, synchronous web framework.