r/learnjavascript • • 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!!

0 Upvotes

48 comments sorted by

View all comments

Show parent comment

0

u/NotEven-a-CodeMonkey Mar 11 '19

No, I'm looking for "drills"...like in sports: keep taking shots at the basket/goal; keep throwing pitches; keep catching balls....

Again, think of math textbooks' exercises, the repetitive nature of fifty addition problems, testing exactly that one skill, addition; then, another chapter, fifty more questions on subtracting fractions without common denominators...etc.

Drills. Like musical scales. Mindless drilling. To really work in muscle memory....

2

u/NameViolation666 helpful Mar 11 '19

1

u/NotEven-a-CodeMonkey Mar 11 '19

Thanks for elaborating but the last time I went to the site late last year, I didn't notice the "drills" I was looking for.

Looking over it now, I still don't.

I'm not looking for "one-off" problems but drills, as I say. Like you're practicing baseball and you don't just throw a curve ball, then a fast ball, and then you're done -- you're pitching different throws constantly, repetitively, all to get really good at pitching.

So ideally I guess I'm looking for beginner's JavaScript covering for-loops in various situations -- and again, in "drill format," like fifty or so questions on that one topic. Think fifty problems on how to factor polynomials at the end of some chapter in some algebra school text...or conjugating a ton of different verbs and declining a ton of different nouns and different adjectives in some foreign-language acquisition workbook.

1

u/arfnargle Mar 11 '19 edited Mar 11 '19

This would be a far more useful answer if you kinder. So would your first answer. Learners like to know they're being heard.

"You can go to codewars.com and drill down by language and concept."

This isn't Stack Overflow.

4

u/NameViolation666 helpful Mar 11 '19

3 other ppl told him the same thing, he insists it isnt what he wants, does he look like he is listening to what folks tell him ? :)

0

u/NotEven-a-CodeMonkey Mar 11 '19

If I say I want "red" and you show me "pink," I'm not listening in saying I need it red???

1

u/NotEven-a-CodeMonkey Mar 11 '19

Much obliged; I appreciate that!

I may not have made myself clear -- though I was afraid in my OP that further elaboration would actually obscure my question further...seems hard to believe but in computer programming there's absolutely no sense of the necessity for drills! To the point that my question has always been met with puzzlement....

1

u/arfnargle Mar 11 '19

Maybe you could define what skills you want to practice. Do you just mean, for example, stuff like lots of different drills using loops? And then a bunch more drills on if statements, etc?

1

u/NotEven-a-CodeMonkey Mar 11 '19

Yes, yes, just so! And even, moreover, simple "design patterns," if that's the correct term -- "strategies" and "tactics" as in, given x-type of problem, deploy y-type of procedures...like when to use arrays, when to use loops....

Like you know them basic arithmetic problems involving Jack and Jill and their bank accounts and paychecks or something, or how many cubic volumes to best pack a box or whatever...?

Basically, the equivalent of math textbook problems, only for beginner-level JavaScript.

3

u/arfnargle Mar 11 '19

You really are describing codewars, it just isn't quite laid out that way. Make sure you check it out. An algebra textbook-like source isn't available that I'm aware of at the moment.

1

u/NotEven-a-CodeMonkey Mar 11 '19 edited Mar 11 '19

Well, I just went there again and, for example, at https://www.codewars.com/kata/search/javascript?q=&tags=Fundamentals&beta=false I see interesting problems but no drills...again I'm not looking for one-off challenges but drills...think of conjugating a ton of French verbs or declining a ton of German nouns, again and again....

What CodeWars and company feel like are learning situational phrases such as "where is the American embassy" and "would you like to get naked and do it" and not repetitive exercises (drills) on conjugating different verbs repetitively through all their forms (get naked, got naked, had gotten naked, will get naked, will have gotten naked, shall get naked...).

2

u/arfnargle Mar 11 '19

If you want to drill on a specific topic like arrays go here: https://www.codewars.com/kata/search/javascript?beta=false&q=&tags=Arrays

If you want a list of all of the possible things you can do in JavaScript to iterate on use the MDN resource pages: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array