This is fun. The Aalto University in Finland has an online beginners course on Rust: Aalto FITech101 Courses complete with lots of fun exercises.
"This part of the course is extra material"
This (tests) should be central to teaching.
Alternatively skip to the final assignment and give it to a LLM.
Where did you read that in there?
And where would the fun in that be? Besides I have yet to try an LLM that can write decent Rust.
Edit: I found it. It's in the section on tests. You might have a point.
Yay! I completed the course. Assignments 100% completed and correct. I get some credits toward a degree, not that I'm about to start down that road.
Mostly straightforward given that I have been using Rust for a few years now. But useful in that it forced me to look at some things I had been avoiding. I had been avoiding any lifetime tick marks in my code or using generics other than those required for using libraries or macros...
I find they have gotten a lot better compared to when they first came out.
Would be weird to use one in this case though.
I tried Codeium just now. I was stuck on a course question which asked you to fix some non-compiling code. I asked Codeium to explain and it came up with the exact same answer as the course. (The compiler message itself wasn't that helpful in this case.)
I find Codeium to be pretty good. Though I'm only at beginner level, compared to most people here!
Yeah. I had a pleasant surprise the other day. The compiler was issuing an error that I could make no sense of, the help it suggested didn't. After a while I gave in and asked whatever AI is in my Warp terminal. It gave a nice explanation in plain English as to what was causing the problem. And it offered a fix that worked and looked exactly like what I would have written now that I understood the problem. I'm pretty sure that Warp AI was snooping at the whole directory of code I was in as its suggestion included code that I written in there somewhere already.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.