Skip to content

Instantly share code, notes, and snippets.

@hannahhch
Last active May 18, 2023 01:03
Show Gist options
  • Save hannahhch/6c9e0b6e977583c3d622e6b4b66fe280 to your computer and use it in GitHub Desktop.
Save hannahhch/6c9e0b6e977583c3d622e6b4b66fe280 to your computer and use it in GitHub Desktop.

Paired Practice Time!

The best way to get comfortable with these methods is to practice them, so we will!

You'll be with a partner in a breakout room to work through some practice problems. Assign one person to be the driver and the other to be the navigator. It might be helpfulful to switch these roles off and on so you have the opportunity to be both!

Instructions

  • Start with #1
  • Have the driver fork a copy of the REPL
  • Work through problems together (you'll have 15 minutes for each REPL)

Notes:

  • I will let you know when your 15 minutes are up and its time to move on to the next station!
  • There's no deliverable, but I suggest keeping this somewhere handy to reference.
  1. forEach
  2. map
  3. find
  4. filter
  5. reduce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment