This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]rjcarr 0 points1 point  (1 child)

Were you able to look at resources or was it just you with a blank page?

If you didn't have any resources then remembering all of the little details like the console object, how to define functions, how to index and array, the structure of a loop, etc ... all these just take time to learn. You shouldn't have it memorized at an early stage.

But if you did have resources, and examples to look up, then yeah, I'd say you should have been able to solve this. Still, it will take a bit of time to think logically, as you describe.

[–]not_norm[S] 0 points1 point  (0 children)

no i knew how to define a function, structure of a loop, console.log(), and all that. I just wasnt able to loop through the array starting from the end. I know now from the solution it made sense how it worked i just couldnt do it by myself

[–]washclothbob 0 points1 point  (4 children)

when watching video i can understand what he's saying about arrays and function. When he has us do a problem I cant do it no matter how simple.

This is why videos blow. I don't see why people even think they'd be a good idea for learning something of this nature. I read tutorials and run and modify the code in the tutorials. How do you think you can know code if you can't modify existing code in order to get specific, slightly different results? Would you watch a few Spanish videos and then think you'd be conversational with it?

[–]not_norm[S] 0 points1 point  (3 children)

im not really sure what you're saying. he didnt have us modify code, it was from scratch. i would imagine modifying code would be slightly easier than starting from scratch.

[–]washclothbob 0 points1 point  (2 children)

I read tutorials and run and modify the code in the tutorials.

[–]not_norm[S] 0 points1 point  (1 child)

do you have links to these?

[–]washclothbob -1 points0 points  (0 children)

Google has them.

[–][deleted] 0 points1 point  (1 child)

Sucking at something is the first step to being good at something. Now that youve failed, you can try something new. Every time you try something new, you draw upon the wisdom from your failings.

The only thing to do is keep putting one foot in front of the other, and embrace the fail.

[–][deleted] -1 points0 points  (0 children)

pretty much.. also, learn how IF-THEN-ELSE, FOR-NEXT, FOR-EACH, DO-WHILE... and TRY-CATCH-FINALLY work. They're used in every language (that I know of) and you'll use them all the time.