Day 1: Morning Exercises
We will be using collective-rustlings
for the exercises in this course.
collective-rustlings
is a temporary fork ofrustlings
which is a collection of “small exercises to get you used to reading and writing Rust code”.rustlings
is an awesome learning resource for Rust!I created the fork to be able to integrate
collective-score
into it so that your progress is shared with the class while you work on the exercises. I also removed some exercises and changed the order of some to fit the order of topics in this course.
Before starting with the exercises, you have to follow the following steps:
- Install Rust using
rustup
- Install VS-Code (unless you want to use your own editor with language server support
rust-analyzer
) - Follow the instructions in the README
If you need any help, you can always ask me 😃
You should do the following Rustlings:
intro1
intro2
variables1
variables2
variables3
variables4
variables5
functions1
functions2
functions3
if1
if2
if3
rustlings
will guide you through these exercises in the same order.
But you should stop after the last exercise listed above.
The rest of the exercises will be done later.