JavaScript Function Currying: Benefits, Examples, and Usage

JavaScript Function Currying: Benefits, Examples, and Usage

If you are an intermediate or advanced JavaScript developer, you’ve probably come across this term. Javascript function currying is a technique where a function with multiple arguments is transformed into a sequence of functions, each with a single argument. It’s a popular technique amongst developers who like functional programming. So let’s explore what it is,…

The 3 Types of Functions in JavaScript

The 3 Types of Functions in JavaScript

Javascript functions are very flexible compared to other programming languages. They can be declared in many ways, they can look very different in the code, and they can be referenced and passed throughout the code. But in this post, I would like to focus on the 3 main types of functions in Javascript: Named functions,…

Understanding JavaScript Variable Scope

Understanding JavaScript Variable Scope

I can’t tell how often I met Javascript developers who have been building web applications for several years. Yet, they still don’t fully understand some of the basic programming concepts. And this lack of understanding comes back to bite them in the form of needlessly wasting countless hours on solving confusing bugs. Javascript variable scope…

JavaScript Variables and Data Types: A Comprehensive Guide

JavaScript Variables and Data Types: A Comprehensive Guide

JavaScript variables and data types are two fundamental concepts that you’ll have to learn about before proceeding with your programming journey. A variable in Javascript is a container that holds a value inside of it. You can have many named containers, each of which contains a different value. You can then manipulate these named containers…

How MySQL index works under the hood

How MySQL index works under the hood

MySQL indexing works by storing specific data columns in a separate sorted data set that can be used to quickly locate relevant rows in a large table without the need to scan the whole table. This works exactly like the index in a book. If you want to find a specific chapter in the book,…