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

Improvements to HW1a (Pokémon) #3

Open
13 tasks
gdalle opened this issue Oct 6, 2022 · 1 comment
Open
13 tasks

Improvements to HW1a (Pokémon) #3

gdalle opened this issue Oct 6, 2022 · 1 comment

Comments

@gdalle
Copy link
Collaborator

gdalle commented Oct 6, 2022

  • Invite students to use the documentation (? in the REPL / docs tab in Pluto)
  • Present intro tutorial before the homework
  • Say that just because checks are passing doesn't mean the answer is correct
  • Add question numbers
  • Explain what an empty struct means + how to compare mutable and immutable structs (== vs ===)
  • Clarify inner / outer constructors
  • Note on matrix indexing to prevent them from using linear indices
  • Give a reference for various kinds of type dispatch syntax (f(x::X) vs f(x::Y) where {Y<:X})
  • Specify expected output for attack(::Corgi, ::Pokemon), and state that we do not accept catch-all methods (code should rely on dispatch instead)
  • Define what we mean by method ambiguity and explicitly lead students to find and resolve it
  • Fix check_defense_philip check
  • Explain how boundaries should be handled in the step! function
  • Make it clear that the attacker cannot attack itself
@alanedelman
Copy link
Member

We must have a yamper
image
as well as a philip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants