DEV Community

Cover image for Learning To Code? Here Are 5 Mistakes That You Should Avoid.
Premanshu Pareek
Premanshu Pareek

Posted on

Learning To Code? Here Are 5 Mistakes That You Should Avoid.

Have you ever tried your hand at programming and wondered if it is for you or not? Or, have you been working for a long time with the same technology, and when you were asked to work on something new, you couldn't get it, no matter how you tried?

Well... if your answer to those questions is a yes, then you are in the right place.
In this article, we will go over 5 things that are becoming a roadblock in your learning journey and how to avoid them. So, let's get started.

Thinking you already know it

The number one on the list is this thought that some of you may have, and that is thinking you already know the stuff. It is especially true for those who have spent some time programming.
This way of thinking doesn't just take away the excitement you have while learning new things, but at the same time also gives you a feeling that you might be wasting your time.
Something you can do to get over this mental block is to practice "Deliberate Learning."
Deliberate Learning means you move on to learning the things you aren't comfortable with and skip the things that feel familiar to you.
According to Josh Kaufman, a New York Times bestselling author, it only takes 20 hours of deliberate practice to get really good at something. Approaching your learning sessions this way will make them more productive and exciting for you.

Getting comfortable with hell

You might have heard of the term "tutorial hell" before. Going through many tutorials and finishing them... copying code from there, and sometimes getting certificates for this may sound like you are making progress, but in reality, it's hindering your growth. 
The famous quote, "When you are going through hell, keep going", doesn't really apply in this case.
The easiest thing to do to get out of this is to start putting the knowledge that you have gained so far into practice.

Not choosing the right path

Now... tutorial hell could be a thing, but it is also true that tutorials help you get started and stay on track. So, it's better to choose the right starting point.
One of the principles of learning, according to Scott Young, author of the book Ultralearning, is called Metalearning. It's the act of gathering good resources, and planning the path your learning journey will take.
To learn programming, you can take some help from Youtube videos, or choose a path from here for your chosen field. The important thing is to pick one and sticking to it.
If you are starting out with JavaScript, and aiming to become JavaScript Developer then the courses mentioned in this path can help you in quickly getting the hang of the concepts to further propel your growth.

Switching technologies too often

There is no shortage of exciting new technologies in today's tech world, and new ones also keep popping every now and then. Although it may be hard to resist the urge to dive into these new and untested waters to explore what's new, but you should resist it nonetheless.
This is one of the most obvious mistakes a programmer can make. If you have picked a technology, don't leave it until you have a good enough grasp of it. As we have already discussed above, it just takes 20 hours of deliberate practice. After you have mastered a technology to a good extent, you will find it way easier to pick up new technologies.
So, plan your learning well, and master your current field before moving onto the next.

Being Inconsistent with your effort

Now, this is something that I am telling you from personal experience. Nothing slows down your progress more than inconsistent effort. I can't tell you how many times I have had to revisit something I already learned in the past just because I was not consistent.
When you are learning to program, it does not matter if you do it for 1 hour or for 10 hours. What matters is that you do it everyday, over a significant period of time. Just doing this one thing will ensure that you are making progress and moving towards your goals.
To keep yourself accountable, you can join the #100DaysofCode challenge, where you will find the support of a community to help you stay on track.
In moments of doubt, remember these words from Robert Collier - "Success is the sum of small efforts repeated day in and day out."

Everything I have mentioned above is something that I have learned over the years through trial and error. I believe if you focus on not making these mistakes, you will be able to enjoy your learning process to the fullest and see your skills improve.
If you have any questions, feel free to ask me by sending me a message on my Instagram, or add me on LinkedIn!

Top comments (0)