How To Learn JavaScript in 2019

May 8, 2019 Posted by Programming 0 thoughts on “How To Learn JavaScript in 2019”

So you’ve gone through some Codecademy courses and learned enough JavaScript to feel dangerous, but you feel like you’ve just started scratching the surface. This new Es6 you’ve been hearing about is something you want to get into, but you can’t find them in the old kickstarter books. Well, I’ll show you to learn JavaScript so that you’ll go from building tiny to-do apps, to building something you’re proud of.

The purpose of this article is to point you to resources that I’ve taken advantage of and will continue to take advantage of to comprehend JavaScript. Actually, I’ve written several JavaScript articles myself that break down the difficult parts of the language into concepts that are easy to understand.

I’ll list them below:

Understand JavaScript’s Engine

Having a basic understanding about how JavaScript’s JIT compiler works will make JavaScript appear less like a magical concoction. This article takes a very high level view of compiler theory and makes it easy to understand with images.

JavaScript’s Event Loop

You might one day be asked in an interview to explain JavaScript’s event loop. This article will really clarify what JavaScript is in the first place.

Understand JavaScript Closures

Closures doesn’t have to be an advanced JavaScript topic if you boil it down. All they are are functions within a function. You’ll understand that by the end of this article.

Understand JavaScript’s Prototype Chain

JavaScript’s inheritance structure can get a little wonky if you think that it is anything like other object oriented languages. That new Es6 “class” keyword is just syntactic sugar that hides the fact that JavaScript treats classes as a chain of functions.

Understanding This and Bind

Once you start working extensively with functions, you’re going to run into an issue with the this statement. This will most likely occur when you’re trying to get an event or data to persist within a closure.

JavaScript Hoisting

Sometimes, the best way to learn something is to have fun doing it. In this article, I let Rick and Morty explain this quirky JavaScript feature.

 

There are many more resources out there that will give you the knowledge required to become competent in JavaScript. The most important bit of advice I’ll give is to actually try to build something yourself. The way I learned JavaScript was to try to build something amazing, then Google my way through solutions. For example, I wanted to build around a JavaScript compiler to make this:

 

Building a sandboxed JavaScript editor required me to use an open sourced interpreter that had minimal documentation. I had to Google to learn more about how compilers work, strengthening my knowledge of JavaScript. Looking at how other people build projects using ?JavaScript and becoming accustomed to reading JavaScript code will only make you a better programmer.

 

Still having plenty of resources on hand doesn’t hurt either. Here are JavaScript resources I would recommend to anyone who wants to learn JavaScript:

 

JavaScript Is Sexy

This is a great resources for anyone looking for a comprehensive overview of JavaScript subjects.

2ality

If you want to know some of the harder parts of JavaScript, check out Dr.Axel Rauschmayer’s blog.

You Don’t Know JS

This is one of, if not the best, freely available resource on JavaScript out there. I’ve definitely used it to understand JavaScript concepts.

33 JS Concepts

This GitHub page serves as a repository of JavaScript resources covering fundamental JavaScript topics.

Superherojs

I’ve listed this resource in another article, but it’s worth noting here for the valuable content it references. This site is about giving you the knowledge to level up your JavaScript skills to get you to code in JavaScript like a pro.

 

Getting from a beginner level to an intermediate level can only be achieved by applying what you’ve learned. Studying resources isn’t enough to get you to that next level. You have to test yourself constantly. Challenge yourself to build an app. The struggle of trial and error itself will force you to learn how to apply the resources around you. Once you rinse and repeat the process of building and learning, you’re only going to get better.

 

 

 

 

Please follow and like us:
0