mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-27 08:15:40 +02:00
- Morning of Day 1 still introduces the language and its high-level goals/value proposition, and starts with the built-in data types Rust provides, and how you define a function. - Afternoon of Day 1 gets a front loading of the basic control flow structures in Rust but not the more exotic ones. - The exercises for day 1 afternoon will be the Luhn algorithm (where we can match on digits and enums such as `Option`. - Morning of day 2 still has discussion of memory management. Fixes #510. --------- Co-authored-by: Martin Geisler <mgeisler@google.com>
252 B
252 B
Day 1: Afternoon Exercises
We will look at two things:
-
The Luhn algorithm,
-
An exercise on pattern matching.
After looking at the exercises, you can look at the solutions provided.