Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

JS Core - Lesson 1 #6

Open
kabaros opened this issue Mar 25, 2017 · 8 comments
Open

JS Core - Lesson 1 #6

kabaros opened this issue Mar 25, 2017 · 8 comments
Assignees
Labels

Comments

@kabaros
Copy link
Contributor

kabaros commented Mar 25, 2017

https://code-your-future.github.io/syllabus/js-core/lesson1.html

Please mention this issue# in any PRs, commits related to Lesson 1 in JS Core.

@rarmatei
Copy link
Collaborator

When introducing "Comparison", maybe we can also cover coercion, and the important difference between == and ===?

@tvooo
Copy link
Collaborator

tvooo commented Mar 27, 2017

Before going into == vs === we'd also have to have introduced the concept of references vs. values. Just to keep that in mind.

@tvooo
Copy link
Collaborator

tvooo commented Mar 27, 2017

Codepen does not have a "run" button, so it's quite intransparent when it actually re-runs a program. Maybe a different tool is better? A simple jsbin configuration, maybe?

@rarmatei
Copy link
Collaborator

@tvooo CodePen does have a "run" button. You can disable Auto-Run by going to Settings -> Behaviour -> Disable "Auto Updating Preview".

Regarding == vs ===, I agree it can a lot broader topic, but I was hinting at merely introducing the difference between the two, and why we recommend they write ===, as that will probably be the main comparison operator they'll be using with the beginner topics. We don't even have to cover object comparison (as I'm guessing that's where your concern was), we can just quickly talk about "coercion" (maybe not mention that term to avoid confusion), and just mention that "2" == 2 is true and "2" === 2 is false.

I would like to hear other people's opinion on this, but I thought we could include "references" vs. "values" in the second lesson, when we go more in depth into objects, as in this first lesson we're just introducing them?

@tvooo
Copy link
Collaborator

tvooo commented Mar 29, 2017

Awesome, that's good to know.

Maybe it is worth going into coercion in the first lesson after all. Let's see how our exercises turn out, and the rest of the lesson, and then we can always move it around.

@kabaros I'm pretty busy the rest of the week and won't be able to work on this before the weekend, but I have blocked a couple of hours on Saturday. Hope that's alright.

@kabaros
Copy link
Contributor Author

kabaros commented Apr 10, 2017

@tvooo I've merged the PR for lesson 1. The topics are perfect - it's what needs to be covered - but I think it will have to be shifted between the lessons as it would be too much for the first one.

The levels of details sounds reasonable, especially for the first lesson. But as a general rule, it would be good to have as less as possible on the lesson itself and then add pointers to (good) documentation like MDN or such

check @johnmcc #9 (comment)

@tvooo
Copy link
Collaborator

tvooo commented Apr 10, 2017

How to confuse the students: https://www.youtube.com/watch?v=et8xNAc2ic8

@tvooo
Copy link
Collaborator

tvooo commented Apr 13, 2017

This just came in from the Mozilla newsletter. I think it's great to point to in between topics and exercises: https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics

kabaros added a commit that referenced this issue May 15, 2017
* moving coding intro into coding-101

* js-core lesson 1 updated based on Node Girls workshop #6
The Node Girls workshop is a great immersive start to JS: I've amended some bits to use more accurate terminology, I also updated some of the code samples to be more relevant to our students. I changed the Array explanation to use Tim's explanation as it is easier to grasp. I've also moved the existing content of Lesson 1 to Lesson 2 as it will serve as a good way to reiterate the more complex concepts like arrays, objects etc...
kabaros added a commit that referenced this issue May 20, 2017
* moving coding intro into coding-101

* js-core lesson 1 updated based on Node Girls workshop #6
The Node Girls workshop is a great immersive start to JS: I've amended some bits to use more accurate terminology, I also updated some of the code samples to be more relevant to our students. I changed the Array explanation to use Tim's explanation as it is easier to grasp. I've also moved the existing content of Lesson 1 to Lesson 2 as it will serve as a good way to reiterate the more complex concepts like arrays, objects etc...

* moving arrays and object from lesson 1 to lesson 2
kabaros added a commit that referenced this issue May 25, 2017
* moving coding intro into coding-101

* js-core lesson 1 updated based on Node Girls workshop #6
The Node Girls workshop is a great immersive start to JS: I've amended some bits to use more accurate terminology, I also updated some of the code samples to be more relevant to our students. I changed the Array explanation to use Tim's explanation as it is easier to grasp. I've also moved the existing content of Lesson 1 to Lesson 2 as it will serve as a good way to reiterate the more complex concepts like arrays, objects etc...

* moving arrays and object from lesson 1 to lesson 2

* update JS-Core lesson 2
kabaros added a commit that referenced this issue May 26, 2017
* moving coding intro into coding-101 #10 

* js-core lesson 1 updated based on Node Girls workshop #6
The Node Girls workshop is a great immersive start to JS: I've amended some bits to use more accurate terminology, I also updated some of the code samples to be more relevant to our students. I changed the Array explanation to use Tim's explanation as it is easier to grasp. I've also moved the existing content of Lesson 1 to Lesson 2 as it will serve as a good way to reiterate the more complex concepts like arrays, objects etc...

* moving arrays and object from lesson 1 to lesson 2

* update JS-Core lesson 2

* updating research section for JS-Core lesson 2

* putting skeleton for lesson 3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants