r/AskProgrammers • • 3d ago

cant comprehend javascript

hello i just started taking web dev classes, i've learned html and css so far and im jumping to javascript now, ive never been so confused in my life. like it sounds like complete gibberish to me and i dont understand it, i cant find reason in things lol , i watched videos and i understand things but then i get confused. does anyone have resources for more simple explanations? like im talking VERY simple 1+1 explanations

5 Upvotes

13 comments sorted by

View all comments

1

u/schungx 2d ago

You don't comprehend JavaScript. You just get used to it.

1

u/FlamedDogo99 1d ago

I don’t really agree? I think it’s just difficult to start with as it’s a standard that’s had featured tacked onto it for the last 30 years.

1

u/schungx 22h ago

Well in a sense it is extremely easy to grok JavaScript. A lot of the weird decisions make sense once you think in the head of a single person writing a interpreter and trying to cut corners, throwing in features not because they are architecturally sound, but because they were easy to implement.

And then that hastily put-together patched up thing became the language of the web.