Answer by kwah for How should I respond to a student who proposes a "weak"...
A student suggested that event listeners are like arrays. After discussing it, the connection the student saw, was that you could add or remove items from arrays and you can add and remove event...
View ArticleAnswer by Flater for How should I respond to a student who proposes a "weak"...
The concrete example:Your student is right. At least, I agree with him, because I think of event listeners in the same way.When multiple callers register for the same event, and the event triggers, it...
View ArticleAnswer by Buffy for How should I respond to a student who proposes a "weak"...
It seems to me that you have a good process going, encouraging students to participate and give their ideas. Of course, they are students, so their explanations and insights are likely to be...
View ArticleAnswer by ctrl-alt-delor for How should I respond to a student who proposes a...
An array is like a list of event handlers. But it is not like an event handler. Telling students stuff does not work well, but having them discover it does.The student has seen something in the...
View ArticleHow should I respond to a student who proposes a "weak" analogy?
I'm teaching programming with JS at the highschool level, students have some prior experience with programming with different languages but are still mostly beginners, and we're working through some...
View Article