7 Pieces of Bad Advice for JavaScript Beginners
Tags: javascript, beginners
Published: 2019-07-29 13:34:32

---
title: 7 Pieces of Bad Advice for JavaScript Beginners
published: true
tags: JavaScript,Beginner
canonical_url: https://carlanderson.xyz/7-pieces-of-bad-advice-for-beginners/
cover_image: https://images.unsplash.com/photo-1446825597988-2bb4dfd264ac?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ
---

Let's face it - not all advice is helpful, even if it is well-meaning.

As a beginner, you're especially vulnerable. It's hard for you to tell the difference between the advice which will save you months, or cost you years.

You could avoid taking _any_ advice, but the reality of a self-taught developer is you _rely_ on online advice when you get stuck. How do you tell which advice to follow? How do you _progress?_

I've seen all sorts of bad advice - the worst of which make repeat appearances. I've compiled a list of some common bad advice, why you shouldn't follow it, and what you should do instead.

## **#1: You should switch to this course/book/resource**

I see this crop up when someone has _already_ completed a course but struggles to write code by themselves. They still need the aid of a tutorial or guide handing them the answers.

This piece of advice hurts because it suggests that there is a "perfect" course out there. One that will solve all your problems, all you have to do is find it.

This is a core contributor to "tutorial hell". Beginners get caught in a cycle of following new tutorials and never addressing the underlying problem. They never learn how to move _past_ the tutorials. Instead, they start over again, hoping _this time, it'll be different._

 ![7 Pieces of Bad Advice for JavaScript Beginners](https://media.giphy.com/media/F8deaO3psSKiY/giphy.gif)

Beginner resources don't differ by _enough_ to make it worth starting over.

You didn't screw up early on. You don't need to start over with a clean slate. You need to spend some more time with the material you've _already learned._

[I've elaborated on this more in this article.](https://dev.to/canderson93/can-you-actually-learn-javascript-from-an-online-course-5eag) There are two parts to software development: syntax, and _learning how to build software_.

Instead of throwing in the towel and re-rolling, start building _tiny_ projects. What do you already know? Try to think up [some small project ideas](https://dev.to/canderson93/how-to-find-ideas-for-good-practice-projects-5hcm) that you can create with the knowledge you already have.

## **#2: You should use this framework/library instead**

This isn't "every time you see this, walk the other way" advice. I'm specifically talking about cases where an answer without any real thought.

> _Hey, How do I change the colour of a div using a button?_  
> _It's way easier if you use React_

There's nothing wrong with suggesting frameworks and libraries. The issue comes when the framework is suggested blindly.

React doesn't help you change the colour of a div at all_._ The effort it would take to include React would far outstrip the time it takes to solve it some other way. The commenter just likes React.

That doesn't mean all suggested tech is bad. The important thing here is that you do your research, and make an informed decision.

Each time you include a new tool, you have to learn how to use it. You may have to rewrite large portions of code. It's up to you to decide whether that cost is worth solving the problem you have.

Do your research. If it doesn't make sense, move on and find something else. _Don't take anyone else's word for it._

## **#3: You have to be passionate to learn JavaScript**

I hate seeing this advice.

This one can rear its ugly head in _any thread_ about JavaScript. Someone comes along with a story about how they learned JavaScript in 6 months... by spending 12 hours a day living, breathing and consuming nothing but code.

_And if you want to succeed, you need to do it too_.

It's too extreme. It glorifies an approach that involves destroying your lifestyle. It suggests that if you have a full-time job, a partner, a young child, or _any other hobby_, you can't learn JS.

You don't need to spend 12 hours a day on JavaScript. You don't need to find 3-6 hours every night to code. You don't even need to be having fun.

You need to focus on _consistently_ spending time learning JavaScript.

You're learning to code. This is a skill you'll develop over the rest of your life, so there's no rush. You're going to be more successful if you can find time in a way that you can sustain forever.

There's nothing wrong with learning to code in 1-hour chunks, so long as you can _keep doing it._

## **#4: You need X days/months/years to learn JavaScript**

I can understand the desire to know how long things take. Unfortunately, it doesn't work like that.

There is no set point where you have "learned JavaScript". Any effort to say how long it takes is inherently flawed.

The damage here is the implication that there is a point where you'll feel "done". You can work your butt off trying to reach that point, and get more and more disillusioned when it never comes.

Ignore anyone when they say how long it took them. It's more likely to be the [Dunning-Kruger Effect](https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect) than actual anecdotal evidence.

Instead, focus on tangible goals:

- Starting your first solo project
- Creating a fun SVG Animation
- Getting your first job

## **#5: You need to know about X before you start Y**

This one often comes when someone wants to try something new, like React. About half the time, it includes a _very long list_ for X.

You _couldn't possibly_ start using React until you've learned everything about:

- Classes
- Functional JavaScript
- Kubernetes
- Quantum Computing
- Crochet

/sarcasm

These lists tend to cover _everything_ the new framework etc. uses (and then some). They're a result of the "waterfall" approach that we seem to love when guiding beginners. "You have to learn _all the basics_ before trying _anything_ advanced_."_

I've talked about this in other articles like [When to start learning a Front-end Framework.](https://dev.to/canderson93/when-to-start-learning-a-front-end-framework-9hk) You often need far less knowledge to move into advanced concepts than you'd think.

These lists are useful though: They are a syllabus for the framework. It's a list of what you _will_ learn if you choose to learn React.

The important thing here: Don't let it stop you. Don't worry about having to look stuff up.

Motivation is hard. It's easier if you're spending time working on things that you want to work on.

## **#6: If you can't even do X, you don't deserve to be a programmer**

Okay. You've got me. This isn't exactly advice. It's the programming version of schoolyard bullying. While infrequent, this can show up anywhere.

The reason this is here is that it preys on insecurity present in _a lot_ of struggling beginners. "I don't get it - maybe I'm not _meant_ to be a programmer?".

Any time you see this, you're not seeing an actual critique of "what it takes to be a programmer". You're seeing someone posturing - someone who is insecure about their own programming.

Notice how it is _never_ accompanied by an actual answer?

Are you willing to put in the time to learn to code? You deserve to be a programmer.

Learn things at your own pace. For every dickhead comment like this, there are plenty of others that will actually help.

## **#7: You should learn this other language instead**

It may seem strange that this advice is around. This often finds its way into discussions about how to break out of tutorial hell.

Learning another language is weird advice in that can _kind of work._ It provides a new perspective on programming, which may be what you need to break out of tutorial hell.

The issue is that tutorial hell exists no matter what language you're in. Learning C or Ruby isn't going to fix your problem. It provides a different set of tutorials to keep you in hell.

Your time is better spent _addressing the problems you're having with writing JavaScript._ [Write some small projects](https://dev.to/canderson93/how-to-find-ideas-for-good-practice-projects-5hcm), do some coding exercises, write all the sorting algorithms. _Practice_.

## **Afterword**

I'm sure you've noticed a trend in my suggestions: Be consistent in your learning, and _write code, damn it._

If you're struggling with what to build, I recommend [reading this article about finding project ideas](https://dev.to/canderson93/how-to-find-ideas-for-good-practice-projects-5hcm).

If you want to read more about tutorial hell, you can check out this article: ["Can you Actually Learn JavaScript from an Online Course"?](https://dev.to/canderson93/can-you-actually-learn-javascript-from-an-online-course-5eag)

----
[Having a hard time learning JavaScript? Sign up to my newsletter for articles like this straight to your inbox](https://pages.convertkit.com/9f030a68c9/cd303b3d7b).