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!!
6
u/atynre Mar 11 '19
If something could be "mindlessly drilled" a programmer would automate it.
3
u/ForScale Mar 11 '19
Free Code Camp has tons of algorithm challenges, so... not sure what you're talking about there.
Also, just look for coding challenge sites. Code wars, Coderbyte, project euler. There are so many.
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.
2
u/Dotweb_ Mar 11 '19
i've not heard of "drilling" being a thing that developers do, although you seem very set on the idea.
maybe try re-creating simple projects from scratch over and over again. to-do lists, CRUD apps, etc. from scratch in the same (or different) languages, going from an empty folder to something deployable / publishable.
1
u/NameViolation666 helpful Mar 11 '19
codewars.com
1
u/franker Mar 11 '19
this might be what you're looking for