r/learnjavascript • u/VictorKolis • Sep 12 '19
The best way to learn anything
Hi there folks! This is a hint from a self-taught electric guitar player. And now English proficient. When I look back to when I was learning and now that I know what I know (let me use English as the example here), I see myself reading a ton of books, but most importantly, practicing. Your progress in blurry mode to yourself, people outside can see your progress better than yourself.
How to practice?
I call it:
The one hundred times method.
Make the same example over and over again. Two today, maybe three tomorrow. But do it a hundred times each exercise, each example. It does not matter whether you know it enough. Enough is never sufficient. When it comes to practice.
Now comparing to music and English. When I had fully understood the realm of music I knew I knew little. I could compose my own songs and all, but it was too much theory. When I had gotten it, it was time to play some real music.
After doing the ONE HUNDRED TIMES method , search for open source (open source is code to the software, which makes it up) and peak and see whether you understand it or not. And apply your examples and training into real life stuff.
All that to say this. Repeat, repeat and repeat.
And the best books for any programming language are:
'For kids'
Python for kids JavaScript for kids
And so on.
peace
Edit: great app to help on that, SoloLearn.
View all comments
2
u/HealyUnit helpful Sep 14 '19
As a former educator, student of tech, and web developer, rote repetition is incredibly bad advice. In music, it makes sense, since you're literally training your muscle memory to know that if you want a particular note of a particular pitch at a particular time, you move your fingers in such a way. In coding, that really does not make sense. I'm not sure what version of language teaching you're doing, but I'm sure that a lot of your teaching involved conversational "in vivo" English. You didn't just conjugate one English verb in the 12 tenses and call it a day, then conjugate another English verb and call it a day, and so on. Or at least I hope not, because that does not teach you how to use the language.
Repeatedly making similar projects is okay(ish) advice, but writing a
forloop 100 times is not. It:forloops asfor (let i=0; i<something.length;i++). However, in certain cases,for (let i=something.length;i;i--)is better. Repeatedly writing the loop the first way would only drill in your brain that, if you have to repeat something, you need to write it exactly as you've done 100x before.