Why Use Typescript

Why Use Typescript

Some of you may have heard of Typescript; it’s a superset of the wonderful language known as JavaScript. It has one important feature that makes it slightly better for developers and that is types. You may have never used types before, but let’s...
“This” in Python

“This” in Python

In most object-oriented programming languages, we can refer to the newly created object and its methods with `this`; ‘this’ is a special keyword in many programming languages. It is a keyword that references the current object. This allows us to write...
JavaScript Async & Await

JavaScript Async & Await

Introduction In JavaScript, there are two keywords that are new in es7. These awesome keywords are async and await. They allow developers to write asynchronous code in a synchronous way. Asynchronous code is run independently of the execution order of the program;...
JS Promises

JS Promises

JavaScript Promises Promises are the new kid on the block when it comes to handling asynchronous functions in JavaScript. But, before we can talk promises, we have to talk about asynchronous briefly. Asynchronous Functions And Callback Triangle Asynchronous functions...
JavaScript Callback Functions

JavaScript Callback Functions

Introduction Callback functions are a concept that should be explained because you’ll see them constantly in JavaScript. Functions are objects so we can pass them as parameters; this important key makes callback functions viable. Today, we explain what are...
JavaScript Map Object

JavaScript Map Object

The Map Object In ES6, JavaScript added a new Map class. The Map class is very similar to the standard object class, with a few differences. Today, we’re going over when to use and why to use them. Why Map Map, unlike the object class, does not have extra keys...