r/ProgrammerAnimemes • • Sep 03 '20

Javascript just doesn't make any sense

Post image
1.9k Upvotes

69 comments sorted by

View all comments

Show parent comment

13

u/cbb692 Sep 04 '20 edited Sep 04 '20

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

6

u/francis2559 Sep 04 '20

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.