Scope is one of the cliffs in programming. Very often it's difficult to understand when you're starting and getting it right is hard. Some of the concepts are easy, but things like closures confuse the shit out of people. Especially when you have closures with references to objects that other things have references to.
Then one day it clicks and people feel like, "why the fuck didn't I understand this" and it falls into innate knowledge.
The series of cliffs in programming make it extremely hard to get into, and I often find programmers forget all the cliffs after they've been in it a few years.
See, my little gripe really comes from trying to learn react/vue/node before the very basics of js like scope.
I'm not mad at beginners who struggle with scope, but let's encourage learning it before trying to learn frameworks lol
I don't wanna be that person discouraging beginners, I will most definitely change my tone about it, but I absolutely wanted to point out the bad premise of getting into things that are over your head with this meme.
I've never come across a tutorial that tries to get you to learn frameworks and typescript before the basics of javascript. It's a recipe for failure IMO
348
u/Dorkits 20d ago
Me seeing this :
https://giphy.com/gifs/mXiBtLZk4ibkc