Slack message students for things they'd like to review before diving into new topics
Cover individual topics that students may still be stuck on from previous lectures and homework
- Illustration on Google Maps. How do people from Sweden speak to people from Sri Lanka?
- Advice Slip and API. If they have machines that run on the programming language RUST, how can we communicate with them? They serialize their data to JSON!
- Douglass Crawford
- What is JSON?
- Javscript Object Notation
- We are fortunate that it's familiar and easy to understand :)
- It is a STRING PokeAPI
- Not all javascript objects are valid json
- Coding exercise (lecture-exercise.js)
- JSON.parse
- Serialization vs Deserialization
- JSON.stringify()
- Other formats
- protobufs
- XML
- GRPC?!
- Cover homework question #3
- Different ways functions can be made:
- function declaration vs expression
- arrow function
- Omitting return, parameter parenthesis
- What's a method?
- Pure function? or side effects?
- Example: how does a program run this? (example w/ a function, call of that function, and a console log)
- Call stack (stack overflow)
- Params
- Extra params
- Default params
- Recursion (basic example)
- Example function
- pigs example?
- countChar("kakkerlak", "k")? With DOM manipulation?
- Simplicity of functions
- while loop from Chapter 5
- Higher order functions
- repeat(n, action)
- greaterThan10