Out of curiosity, for beginners who don’t have any experience in coding, how many exercises did you solve yourself successfully?
I’m wondering if it is because I can’t think like a developer or if this is quite common for beginners?
Questions for veterans, any advice for improving? Or if it is better to quit now and try another programming language? Or develop other skill sets?
If the problem is need more practices, any recommended website or learning materials?
I did not take that JS course but I can confirm you that with even a bit of coding experience there are “simple” exercises I could not solve.
Many skilful people forgot how it was in the beginning.
They did that million of times and it became second nature to them. You as a learner saw these things for the 1st time. Moreover I understand you don’t have prior programming knowledge. This means you have more to learn than anyone already introduced to another language.
It is part of the learning process. Just do them again and again until you can do them from memory but you also need to understand what you’re coding.
Actually understanding what you code help to memorise.
As a learner from video courses one thing I can’t recommend enough is taking notes.
It is WAY easier to scan your notes than try to find a piece of information in videos. Really.
The best bet is markdown because it has all you need to simply add code snippets. These forums kinda use markdown BTW.
Do apply your newly acquired knowledge on actual projects should they be small that doesn’t matter much.
You may also learn about data structures and algorithmic.
I have no particular resource in mind but I just found a blog post on the topic.
All this is a lengthy process. Don’t rush it. Go your pace.
To add: be patient with yourself.
Victory in education is not achieved by being perfect. It is achieved by those willing to struggle through the material without quitting.
If you find an exercise too difficult, start trying to probe that difficulty to find out what more you need to learn. In the learning process, the journey itself is the reward.
Maybe your issue is less about the material itself and more about learning how to use the debugging tools at your disposal. Reading error messages and understanding them is a skill all of its own. So is code tracing (ie. stepping through your code). Learning how to write tests is also a useful strategy because you can test your assumptions about the code.
Lastly, you are not alone. After working hard to figure out what is blocking your progress, you can ask for others to help you. This is another way to learn.
Whatever you do, please do not give up. Better to find more resources than to give up.
Hi, thank you for replying. I appreciate both of your advices.
I guess I will just keep trying.
This makes me feel a lot better myself seeing someone else struggling too, i felt the same regarding the exercises. I feel a lot of what Mosh has explained so far has been simple to understand, but when it comes to him asking me to complete his exercises i get stuck, although i understand his solutions entirely.
As you’re constantly learning you’ll likely get into that struggling situation as you constantly need to solve problems.
Of course the more experience chances are the less you’ll struggle. But that’s a matter of years.
I also do CodeWars but less regularly. That said I spend hours in a problem if not days. How long is not that important as soon as I know I did try hard enough. This is problem dependant.
That’s just the way I am. But it makes sense to go on after a while.
I don’t do them too often but I got to 6 kyu.
Currently it proposes me 5 or 4 kyuu assignements.
True this starts to feel a bit hard.
Though I love one liners, I hardly ever succeed at getting an answer that comply to it. Then when I look the answers I see how much some people are savage with their techs.
Savage C# devs
It is fun to see how the same problem get so many different solutions.
Honestly, your answer is better because it is more readable. Using fancier math is not helpful if it is not trivial to understand. You could still get a one-liner by extracting methods for getting hours, minutes, and second, but who cares. Yours looks fine to me.