Skip to content

Introduce pointers better #246

@illicitonion

Description

@illicitonion

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions