back to blogs
30 Days of javascript

Learning JavaScript in 30 Days

July 28, 2022 • 7 min read

I have decided to learn JavaScript in 30 days (or so). Let the journey to 30 (days) begin!

Last blog post, I talked about starting to add more skills in a practical manner, and I was deciding at the time to either start with Python or JavaScript. Both languages are “easy” to learn, and with someone like me who already has programming experience in languages some would deem harder to learn, e.g. C++.

So, as you can see by the title of this blog post, I have decided to learn JavaScript. In fact, I am not just going to learn JavaScript. I am going to learn this programming language in 30 days! Will I be able to?

Well, before we get into that, let me answer some questions you may be having, such as:

Why did I pick JavaScript over Python to learn first? Is JavaScript viable to learn in 2022? Can someone really learn JavaScript in just 30 days?

Read along to find these answers and more.

Why Learn JavaScript Over Python?

There is no wrong answer in picking between two of the most popular and fastest-growing programming languages in the world. So, to explain why I will be learning JavaScript over Python first, we should go over each language and explain the differences between the two languages.

Python Logo

Python

Python is a high-level, interpreted general purpose programming language, that is dynamically-types and gargbage-collected. Python can be used for both developing complex and simple programs, while also serving as a scripting language to aid in building web applications. Python is known as a “batteries included programming language”, because of its vast range of libraries. Python was designed for easy readability.

Here is a simple Hello World program written in Python:

                    
#this program prints Hello World in Python 
print("Hello World")
                    
                

Python also supports different programming paradigms, which are, Functional, Imperative, Object-oriented, and Procedural.

Python Logo

JavaScript

JavaScript, or JS, is an object-oriented programming language standardized in the ECMAScript language specification that is usually used to help create dynamic web pages. A long with HTML and CSS,, the three make of the core technologies of the World Wide Web, in which JS provides dynamic functionality that HTML and CSS cannot do alone.

While JS is typically meant to be used for front-end development, JS can now also be used to program the backend, which means JS can be used to perform full-stack, with code programmed for both the client and server side of code. JS also supports multiple programming paradigms, which are Object-oriented, Functional, and Imperative.

Now, here is the JavaScript version of the Hello World program:

                    
//this program prints Hello World in JavaScript 
console.log("Hello World");
                    
                
Python Logo

Python vs JavaScript

While both Python and JavaScript are programming languages, they both have many differences. For instance, JavaScript support asynchronous programming, in which code can run seperately/parallel to the primary application thread. Python does not support asynchronous programming, but it does support tools that do support it. This way, while JavaScript may be better at larger scales, Instagram and YouTube are examples that show Python can be used for scale as well.

Here is a table of more differences between the two programming languages:

Python JavaScript
Idents define code blocks and new lines end statements Curly braces define code blocks and semicolons terminate statements
No built in support for arrays Built in support for arrays
Supports built in hash tables Has maps and sets
No implicit data type conversion Has implicit data type conversion
Class-based inheritance Prototype-based inheritence
Comprehensive standard libraries Has fewer libraries
Uses 'self' keyword for objects Uses 'this' method for objects
Exception raised when function is called with wrong parameters Missing parameters assigned undefined value

With some of those differences in mind, in what cases would you typically use each language?

Python is also mainly a backend language, so it is typically restricted to the server side, while JavaScript can be both a front-end and a backend language. And while both can be used in web development, Python is also able to do more in other fields such as Data Science, Machine Learning, and AI.

I must also point out, that one can build nearly any project with any programming language with enough knowledge, experience, and tools. It's just that some programming languages perform better at building certain applications than others.

front-end and back-end

For my interests, I will be picking up JavaScript first, as I want to build up my skills as a Front-End developer first. However, I do plan on eventually getting back to Python, as I am interested in its many uses as well. For you, if you rather go into data science, machine learning, or even Back End work, Python may be the way to go. But for me, I will be learning JavaScript.

Is JavaScript still worth learning in 2022?

Now, you may wonder if JavaScript is still something worth learning in 2022. And, it is my belief that, yes it is, as the JavaScript is currently the most popular language right now. Aaron Jack of the Aaron Jack | Freenote YouTube channel has a great video going into what statistically are the top 5 most programming languages to get a job. I suggest you check it out for further analysis into his process:

Aaron Jack's video on the Top 5 Programming Languages in 2022 to Get a Job

In the video, Aaron creates an equation, where Freelance work, job postings, and the Stack Overflow developer survey are weighted to give a final score, and JavaScript came out on top as the most popular language.

With 67.9%(link to Stack Developer survey) of developers using it at their job compared to 43.51% who use Python at work, the job market for JavaScript is bigger now than ever in 2022, and with no signs of slowing down, this is another reason I am learning JavaScript this year.

Can I Really Learn JavaScript in 30 Days?

The answer to this question is yes… and no. You see, the plan IS to learn JavaScript in 30 days, but whether I learn it in less or more overall days is to be seen. The reason behind this vague answer is thatI will be taking on the challenge that is aptly named “30 Days of JavaScript”.

30 Days of javascript

30 Days of JavaScript GitHub Repo

This is a GitHub repo by Asabeneh S. Yetayeh, in which both beginners and advances developers are challenged to learn JavaScript in just 30 days. Though, as Asabeneh has also stated:

30 days of JavaScript programming challenge is a step-by-step guide to learn JavaScript programming language in 30 days. This challenge may take more than 100 days, please just follow your own pace.

Asabeneh S. Yetayeh

The great thing about 30 Days of JavaScript is that the challenge will suit both beginners(myself) and advanced developers who might want to brush up on skills and test themselves with the final projects.

The project has also been translated into various other languages, such as Spanish, Korean, Vietnamese, and Polish to name a few. This way, programmers internationally can begin their JavaScript journeys, lowering the bar on entry for this course.

Asabeneh also has two other 30 Day challenges, with both Python and React, with more on the way. I look forward to possible tackling both in the future once I finish this challenge.

So, in summary, yes I will be taking on the 30 Days of JavaScript challenge. Whether it takes me exactly 30 days is yet to be determined, but I will complete this challenge. I will be documenting my journey in this blog, trying to reteach what I learn, document my successes and my failures, and show my progress at my journey for Day 30.

I also will be streaming each of the lessons on YouTube. So if you want to see this JavaScript Journey to 30 live, you can go there, and I will be saving the VODs for documentation purposes as well.

My YouTube channel

My YouTube Channel

If you have made it this far, if you would kindly, share this article. I would greatly apprecitate it. If you have done 30 Days of JavaScript, or plan to take it, let me down below. What was your experience with it?

If you loved this article, and would love to see more, consider subscribing the my newsletter. You will recieve emails when a new blog post comes out! Just scroll to the bottom of this page, and enter your email in the bottom right corner! You can unsubscribe at any time!

Until next time, wherever, and whenever you are, I hope you have an amazing day. Signing off.

If you liked this and would like to support, click the link below to send me a boba!!! 🧋

CONTACT