As always: make a copy of this repository to commit changes to
- Data structures (arrays & objects)
- Loops
- Review of our first assignment
- Questions and demonstration
- In class walk-through of example application
- Function anatomy
- Naming/defining functions vs calling functions
- Providing arguments
- The function body
- The
return
statement
- Thinking functionally
- Programs are data and its transformations
- Functions are just transformations on data
- Functions are values
- Lab 1
- Imagine alternative code flows
- Organize the code
- Make code DRYer ('don't repeat yourself')
- Redundant code is a headache to maintain
Lab 2: Library overview
- Selecting (filtering for) elements in lists
each
: No morefor
loops!*- Lab 2
*Mostly!
- Complete Week 3 Labs
- Review difficult concepts (this is subjective)
- Finish week 2 assignments if necessary