You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Lesson 6, we help students set up the moveSegment function, using an if/else statement. In Lesson 7, without any explanation, we display the moveSegment function using a case statement and tell the students their snake.js file should look like that.
Students were confused by this switch and weren't sure where the changes came from. This transition is worth a callout/explanation.
STEPS TO REPRODUCE:
In Lesson 6 we define moveSegment as:
In Lesson 7 we define moveSegment as:
Note that we do not callout in the curriculum, this transition from if/else to case. Students found this confusing and wondered if they had missed a step.
EXPECTATION:
We would like to see an explanation of the transition from the if/else checking to case.
The text was updated successfully, but these errors were encountered:
SUMMARY:
In Lesson 6, we help students set up the
moveSegment
function, using anif/else
statement. In Lesson 7, without any explanation, we display themoveSegment
function using acase
statement and tell the students theirsnake.js
file should look like that.Students were confused by this switch and weren't sure where the changes came from. This transition is worth a callout/explanation.
STEPS TO REPRODUCE:
In
Lesson 6
we definemoveSegment
as:In
Lesson 7
we definemoveSegment
as:Note that we do not callout in the curriculum, this transition from
if/else
tocase
. Students found this confusing and wondered if they had missed a step.EXPECTATION:
We would like to see an explanation of the transition from the
if/else
checking tocase
.The text was updated successfully, but these errors were encountered: