-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Fix duplicate Day 2 Afternoon exercise page #1135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Spotted by @gregpaton08 in #913.
- 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>
This was found here: d3a9037#r125548839. |
@fw-immunant, we'll probably merge the before you get online, but please skim it too to ensure I haven't forgotten anything. |
Hmm, this isn't completely right:
The exercise named "A Simple GUI Library" is on Day 3 Morning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for catching this.
Edit: Ah, I see. Let me take a closer look and figure out what exactly should be where.
Thanks a lot! I started looking, but got a bit lost myself 😄 |
I think the "Iterators and ownership" exercise actually works better in the afternoon before the other exercise with iterators, because it's more informative than exploratory, and the other exercise from afternoon of day 2 also works with iterators. Meanwhile, the book library and health statistics exercises are mostly simple logic written as methods, with a bit of interaction with ownership and borrowing, which match the morning curriculum. Let me push an alternative PR. |
FWIW there's already a subsequent reorg of this content planned, so I don't think it's worth spending too much time on this. Let's get it to a spot where it can be taught, and then focus on the v2. |
Should supersede #1135, I think.
Should supersede google#1135, I think.
Spotted by @gregpaton08 in #913.