This post has been republished via RSS; it originally appeared at: Microsoft Tech Community - Latest Blogs - .
JavaScript is a programming language that has been gaining many followers year after year! In this article I will be giving some fundamental tips on how you can become a master in this powerful, versatile programming language that is present everywhere.
Ah, JavaScript! The language is present in all spheres of Technology. Whether in Front-end, Back-end, Mobile, Desktop, IoT and even in Artificial Intelligence. The fact that the language is present on the Web, which is the largest technology ecosystem in the world, makes it the most popular language in the world.
In 2019, I wrote an article on the same topic but in Portuguese, which you can check out here. However, as it has been almost 4 years since the last publication, I decided to update and write another one in English. Just to be of help to the technical community. The first article was very helpful to many people, as it became a guide for those who were just starting to learn JavaScript. Because of this, annually - always at the end of the year - I will be updating the article including: new tips, new links and study resources.
So, let's go!
Tip #1: Study and Learn the Basics
This tip is interesting because we all know that, to learn anything, we need to grasp the basic concepts. However, many people end up skipping this crucial part.
Let's compare studying a new programming language to learning a new spoken language. When we learn a new language, we always start with the basics, and through a lot of practice, we progress to more advanced aspects of that language.
The same applies when we want to learn a new programming language. It's futile to try to learn a new framework/library in JavaScript, whether it's React, Angular, or Vue, without knowing the fundamentals of JavaScript. (This tip applies to any programming language you want to learn!) Skipping the basic concepts means not understanding the language's core, leading to a hindrance in further studies.
What do these basic concepts encompass? It involves learning variables, data types, functions, looping structures (for, for in, while) ā how and when to use each of them, decision structures, local and global scopes, understanding the structure of ES5 and ES6, among other fundamental topics.
Another important point to mention is to understand how the web functions, know how HTTP requests work, and understand how the internet operates. Why? Because JavaScript is a language focused on the web, and you indeed need to understand these concepts.
But where can you find resources to learn these basic JavaScript and web concepts?
A great place to learn, from the basics to advanced, about JavaScript and the web is the Mozilla Developer documentation. For those unfamiliar, I highly recommend the link below:
Official Mozilla Documentation
The coolest thing about this documentation is that it's all in Portuguese!! There's no excuse not to learn!
And for those who don't enjoy reading but prefer learning through videos, I recommend a course that we, here at Microsoft, created with the intention of demystifying and helping those who want to learn JavaScript in a simple, practical, and direct way! This content covers everything from basic to intermediate concepts and is an excellent starting point for delving into the language! You can find the more than 50 videos at the link below. In the repository, I've tried to organize and structure them in the best possible way for you and, better yet, including the next steps to excel in the JS world!
And finally, a very cool tip that I even shared on my Twitter is a website where you can learn JavaScript dynamically and, better yet, online. The great thing is that as you progress through the lessons, there are numerous exercises for you to do. Check out how cool it is:
Learn JavaScript Online course
Tip #2: Practice is everything in this life!
There's no way around it. The best way for you to become proficient, regardless of the language you are studying, is to practice. Again, drawing an analogy to learning a new language, we only start to feel more comfortable and confident speaking with a foreigner if we begin to practice, right?
The same applies when learning a new programming language. And with JavaScript, it won't be any different.
What do I recommend for this second tip? After understanding the syntax and basic concepts of JavaScript, now is the time to learn algorithms and data structures.
You might say, 'Oh Glaucia... but there are so many algorithms...' Yes, it's true, and I have to confirm that. But, just like learning a new language, you need to be patient, and the same will apply to a new programming language.
What I recommend everyone to do is: dedicate 1 hour/day to study or take on a JavaScript algorithm challenge. It may not seem like much, but rest assured that in the end, it will make all the difference for you.
Oh... and remember one thing: quality is better than quantity. So, it's not useful to study, let's say, 8 consecutive hours in JavaScript one day and then not touch that subject again. What really matters is the quality of your studies. Study for a few hours each day. But, try to maintain the routine! #justsaying But where can I find resources to learn algorithms and data structures in JavaScript?
I recommend the video below that already covers: Data Structures and Algorithms in Javascript:
And two websites that I highly recommend as well are:
Both of them offer daily challenges in many languages, including JavaScript. It's worth taking a look!
Tip #3: Study JavaScript with a Book
For many, reading a book may seem tedious. However, there comes a time when we will need it. Just like when we learn a new language, we need to refer to a dictionary or some grammar book for that language.
The same thing happens when we are learning a new programming language. We have to move beyond the basics and start consuming more substantial content. And what would these 'more substantial things' be? They are the books! There are numerous books that are highly recommended for those who are learning JavaScript. To mention a few: