Skip to content
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

Closed
djmitche opened this issue Mar 15, 2023 · 2 comments · Fixed by #913
Closed

Methods used in exercise before they are introduced #510

djmitche opened this issue Mar 15, 2023 · 2 comments · Fixed by #913
Labels
bug Something isn't working

Comments

@djmitche
Copy link
Collaborator

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.

@mgeisler
Copy link
Collaborator

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.

@mgeisler
Copy link
Collaborator

This will be fixed with #913!

@mgeisler mgeisler added the bug Something isn't working label Aug 11, 2023
mgeisler added a commit that referenced this issue Aug 25, 2023
- 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>
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
- 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 <mgeisler@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants