As I am going through the course I am finding that each subsequent challenge incorporates aspects of programming that were not included in the previous challenges/lessons. Obviously computer programming requires a high level of problem-solving and one cannot rely simply on some concept or “structure” that they already know. You need to be critical, analyze problems, break them down and sometimes find unconventional(your conventions) solutions to the challenges.
Now, I do not want to look at the videos when I encounter a roadblock and because of that I spent 4 hours on a challenge the other day and I’m still only 90% sure “why” it worked.
I have had to research specific syntax and methods used in the challenge examples on the web because they hadn’t been covered previously ex: constr(basically a variable declaration) and unshift( opposite of push).
My questions are:
When you hit a roadblock and do not want to look at the solution, what actions do you take to get the ball rolling again? (Online research? Mind Maps? Forum? Keep plugging in syntax until it works?)
Is there a specific mindset that you adopt?
Out of all the js challenges, which one did you spend the most time on (So far mine has been recursion. This is mostly because I didn’t understand the stack and had to do a lot of research on how the stack functions to know why (n - 1) can increment values rather than decrementing them in recursive functions)?
From what I can tell, my struggles are mostly related to mindset (algorithmic thinking). I am willing to but do not really want to spend 4 hours on a challenge. Is this normal?
Thanks again for all your support. You guys have been ace!
All the best,