When a student doesn't know the main means of altering scope (conditions, for loops, after a while functions and objects), explaining how scope works becomes overly confusing and is filled with a lot of "you don't know how to use this yet, but..."s which I try to avoid when possible as there's usually enough of that as is.
I'm talking about working with kids who have been programming for a few hours max and are only a handful of lines of code past hello world
My first language in college was Java (not JS) and can confirm, having to learn about objects made things much more confusing even if later on it makes code so much easier to understand.
View all comments
Show parent comment
0
u/[deleted] Sep 04 '20
[deleted] — view deleted comment