-
Notifications
You must be signed in to change notification settings - Fork 11
Lesson Plan wk 1
In class you'll get a first taste of JS, but the main objectives will be understanding why JavaScript is important and learning how to start the homeworks.
- Review Time
- Problem Solving Practice
- GitHub Practice
- Reading Documentation
this101- TDD
- Homework Launch
Be ready with your questions from last weeks' homework!
(your new coaches won't know specifically what you worked on, but can certainly answer your questions if you give them some context)
practice reviewing your solutions with the sources in debugger
There is no correct way to write pseudo-code, below are some resources for you to start finding what makes sense to you:
Flow-charts can be a very nice way to visualize what is happening inside your code:
- a nice video
- a short article
- a detailed guide
- two sites for visualizing your code as flow-charts, neither is perfect but they are both helpful
Break into small groups and study some of the exercises on the parsonizer. Parsons problems are a great way to practice the logic of coding without getting stuck on errors.
It's time for ... Git in the terminal!
Understanding Git
- continue practicing with learngitbranching
- using terminal
Gitting from Terminal
- install and get familiar with git-it
References:
Welcome to array methods!
Documentation is actually a lot like the test cases you have seen so far in your exercises, the main three things to pay attention for are:
- Arguments: what values do you pass into the function/method?
- Return Value: what will the function/method return?
- Behavior: what does the function do, how is the return value related to the arguments?
Some docs to practice reading:
- forEach vs. map
- slice vs. splice
- (a helpful stackoverflow)
- about arrays (js.info)
- FCC: copy an array with ..., combine arrays with ...
- filter
- mutable vs. immutable
how this works in JS
(start the module exercises)
https://github.com/be-hacking-hyf/javascript-2/blob/master/week-1-project/practice-problems/functions-to-objects.js
what's it about?
- What is TDD?
- split into small groups and look through the "how-to-tdd" exercises starting with test-suites
Week 1 Project
- solve
isNumberyStringtogether (talk about early returning) - start
addSting