Categories
JavaScript

What Is The Difference Between Parameter And Argument? 🤔

Many developers, myself included, use the words “parameter” and “argument” interchangeably. However, their meanings are not the same. In this article, I explain the subtle difference between these two terms.  Therefore, let us clarify what each of these terms means. PARAMETERS The parameters refer to the variables that are in the method/function definition. These variables, […]

Categories
Courses JavaScript Programming

Fullstack Web Development With React And Serverless

React and serverless are not buzzwords anymore, and for a long time now. The popular framework, React, is topping the charts, and it is still the most popular and used JavaScript framework. Thus, why not learn it?  How about serverless then? In the simplest terms, with serverless computing, you upload your application code to a […]

Categories
JavaScript Programming Web Development

ES2020 – My Favourite Features From ES2020

ES2020 or ECMAScript 2020 brings exciting features to JavaScript. In this article, I want to talk about my favourite features from ES2020. As a result, this article does not cover all the features from ES2020. So what are my favourite new additions? Dynamic Import Nullish Coalescing Operator Optional Chaining Operator Private Class Variables Promise.allSettled For […]

Categories
JavaScript

Colorize Your Console.Log() 😳🤯

Are you bored of the usual console.log()? I do not know about you, but I like to spice up the things a little bit. Thus, what if I tell you that you can add colours to your console.log() statements? The above image shows different combinations of colours to make console.log() more interesting. Changing the colour […]

Categories
JavaScript Programming

Shorter If Statements With Ternary Operator 💥🚀

I want to start this article by specifying that code readability comes before concise syntax. The code should be explicit, so other developers understand what is happening. This is my opinion, though. I would not like to work with code that does ten things in one line. However, there are times where we can write […]

Categories
JavaScript Programming

Making Promises Better With Async/Await 🔥⌛

Today you learn how to work with promises in a more beautiful way. I do not know about you, but I am not a fan of those chains when working with promises. In my opinion, using async/await makes the code more readable and cleaner. WHAT IS ASYNC/AWAIT ❔ Async/Await is built on top of promises, […]

Categories
JavaScript Journey Personal

From 0 To Fullstack JavaScript Developer Journey

These days I have created a poll on Twitter asking for opinions on whether I should start a “0 to FullStack JavaScript Developer” journey or not. 72.5% of people thought I should start this journey, but on YouTube. However, since I have this blog, I thought of doing it here and then create a YouTube […]

Categories
JavaScript Python

How I learnt Python versus how I learnt JavaScript

There is a lot of debate regarding what is the best way to learn how to program. Or the best way to learn in general. Should you watch other people do it, like online tutorials? Trial and error by building/trying stuff yourself? A combination of both? In my opinion, there is no formula for learning […]