In week three we will discuss the following topics:
• Git work flow
• Advanced data types [Objects]
• Conditions
• Statements vs Expressions
• Loops (for/while)
• Functions
Please watch the following parts of the course, Programming Foundations Fundamentals on Lynda.com (if you don't have access to Lynda yet ask Gijs):
4. Writing Conditional Code
5. Modular Code
6. Iteration: Writing Loops
7. More About Strings
8. Collections
11. When Things Go Wrong
Read the documentation from MDN about arrays: Array.
Please go through these chapters of Eloquent JavaScript to prepare for your next class. We don't expect you to understand every detail of it on a first reading.
-
Eloquent JavaScript: Chapter 3 - Functions, up until the Arrow Functions section.
-
Eloquent JavaScript: Chapter 4 - Data Structures: Objects & Arrays. Unless you are really into statistics, you can skip the following sections:
- The Lycanthrope's Log
- Computing Correlation
- The final analysis
Skip these additional sections for now, as they will be covered in later HYF modules. (You are of course free to read them, but we will not cover them in class):
- Rest parameters
- Destructuring
- Exercises
-
Here is a great video on pure functions and side effects (6:54 mins).
- Check out this video of Daan to see how we use Git Workflow to hand in Homework (from now on): https://www.youtube.com/watch?v=-o0yomUVVpU&index=2&list=PLVYDhqbgYpYUGxRdtQdYVE5Q8h3bt6SIA
Review the topics of week 2:
Please go through the material and come to class prepared!