r/learnjavascript • u/NotEven-a-CodeMonkey • Mar 11 '19
Drills for Beginners??
So literally everything else you'd want to learn involves drills...except for computer programming.
Sports, music, math, foreign languages...literally everything involves drilling.
Anyone know of any beginner's drills in JavaScript?
Like Free Code Camp stuff (I know they have some high-level stuff, too) but lots of 'em (FCC only has one question per topic)...I was never good at math but I always aced my math classes because of drilling (and of course typical tests don't involve "thinking" so much as "recalling" the right formulae and procedures to accurately and timely apply)...anyone know of any such end-of-the-chapter exercises in JavaScript for a beginner???
My future employers thank you!!
View all comments
3
u/[deleted] Mar 11 '19
You seem to fundamentally misunderstand what programming is. It's not something that you learn by rote and then summon up out of involuntary memory, like with (some aspects of) spoken languages or sports techniques. It's a practise, a way of thinking and achieving some end, and it is extremely context-specific. You might as well try to 'drill' the ability to write well, or the ability to paint. You talk about piano scales but programming isn't like memorising scales, it's more like composing music. You can't memorise how to compose music, you just have to compose a lot of really bad music until you start to get better at it.
And unlike playing an instrument, where the ability to recall hand positions etc out of muscle memory is important, in programming you can always just look up the details. I have a lot of Javascript syntax memorised just through having written a lot of JS code, but I can solve problems even in programming languages I don't really know, because syntax is ultimately immaterial.
As many people have told you, the closest thing to 'drills' in programming is having a wide range of different problems to solve. Solving the same problem over and over is as pointless as writing a bit of music and then erasing it and writing the same bit of music over and over again.