-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Methods used in exercise before they are introduced #510
Comments
Yeah, methods are only mentioned very briefly on Day 1 and I don't think traits are mentioned at all. This is something we need to fix. I'm slowly starting to work on a restructuring of the course following feedback from you, @CasperN (in #156), and others internally at Google. Avoiding these "forward references" is high on the wish list 😄 They add a lot of extra work for the instructor who now have to be aware of this and casually explain things like methods early. |
This will be fixed with #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 <[email protected]>
- 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 google#510. --------- Co-authored-by: Martin Geisler <[email protected]>
Day one's afternoon exercises use methods, but these aren't described until day 2. The afternoon exercises use traits as well (Iterator, IntoIterator), but perhaps those are more easily explained away with references to future slides.
The text was updated successfully, but these errors were encountered: