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

Introduce pointers better #246

Open
illicitonion opened this issue Oct 1, 2024 · 0 comments
Open

Introduce pointers better #246

illicitonion opened this issue Oct 1, 2024 · 0 comments

Comments

@illicitonion
Copy link
Member

We added some pointers material to the prep section, but it wasn't enough for the last run. We should talk more about pointers (and memory) so our trainees have more of an intuition for them.

Specific goals:

  • Know when to use a pointer vs value in a function signature
  • Be able to reason about what changes will propagate to a caller's view vs not when a function takes a pointer vs value
  • Having instincts for when adding a & or * is necessary
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

1 participant