This is a collaboration request.
Like many of you here I am a total newbie trying to teach myself some JS. It’s been only 2 months now.
And like many of you here, I find it hard to grasp some concepts (even the most basic ones) just by crunching texts, videos or even practice (exercises).
What I’ve recently found useful for really understanding stuff is building “mental models”. By building mental models I mean building a comprehensible story around a dry coding concept, relying heavily on visual associations which appear in our brains while we try to make our way through JS concepts.
As two examples of such mental models:
As for me, I accidentally had a primitive idea while trying to understand JS functional programming basics (especially the Promises part). I imagined code written in functional style as a water pipe system, where you put some values in the first pipe (first function) and then it flows consequently through all the pipes and side-branches of pipes. Inside this mental model, a Promise is some kind of a clever pipe tee - directing the flow differently, depending of what’s flowing.
I’ve failed to develop this pipe model any further, so if you could help me on that - that could be very helpful for me and other beginner campers here.
Putting variable concept and all this plumbing stuff aside - I am pretty sure, you guys have discovered a lot of unique and unobvious visual images of JS concepts for yourselves.
What I am trying to suggest here - I invite you to share and discuss our own private mental models here. I am absolutely convinced that as we all come from different cultures and backgrounds - there are some really sick and undiscovered ways to make learning JS more explicit and visual.
Maybe we can even collect the best (~most efficient) models and compose our common visualisation of basic JS as some super post on Medium for instance.
If you have already met any kind of such a super posts - please share links.
Thank you for your attention.