A Complete Guide to JavaScript Currying: What Does it Mean?

Functional programming in Javascript allows you to pass a function as an argument and return a function. This programming style introduces you to several concepts you would also encounter in other programming languages like Python, Erlang, Scala, and many more. They include: Function currying Pure and Impure functions High order functions We already did a … Read more

What is the Meaning of the Asterisk * Symbol in Rust?

Have you recently seen the asterisk (*) symbol in Rust while reading someone else’s code and you are not sure what it means? No worries, this article will explain the meaning of * and show you how it can become handy during development. The asterisk (*) symbol is Rust’s dereference unary operator. The dereference operator … Read more

(Solved) error: toolchain ‘nightly-x86_64-pc-windows-msvc’

Have you ever cloned a Rust project on your local machine, installed all its dependencies, and attempted to compile it but you came across the error error: toolchain ‘nightly-x86_64-pc-windows-msvc’ is not installed. No worries, here is how you can fix this error. To fix the error error: toolchain ‘nightly-x86_64-pc-windows-msvc’ is not installed , make sure … Read more

A Complete Guide to Pure and Impure Functions in JavaScript

There are two popular terms you will encounter when working with functional programming in Javascript – Pure and Impure functions. It’s also a common topic you will likely come across in most Javascript interviews. On the surface level, the two might look quite similar. However, it would be best to have an in-depth understanding as … Read more

10 Code Anti-Patterns to Avoid in Software Development

The general performance, maintenance, and scalability of an application or system depend highly on the code structure. Unfortunately, due to the complex nature of software development, developers working on an application might resolve to use anti-patterns as a quick solution to a problem. Unfortunately, most of these anti-patterns end up causing problems to the general … Read more

Difference Between package.json and package-lock.json

When working on a project that utilizes NPM, you will find two files in your project root folder – the package.json file and the package-lock.json file. Most developers take note of only the former (package.json) since it’s where they write the scripts to start an application. However, what is the purpose of the two files? … Read more

Rust | Difference between then() vs and_then() vs or_else()

As you learn Rust, you find out more and more functions that sound like they behave in a similar way, when in reality they differ in subtle ways. This is the case for the functions then() , and_then() , and or_else(). No worries, this article will cover each of these methods as well as their … Read more

How to Create an Ethereum Smart Contract using Solidity

By now, there is a high probability that you have come across the buzzword “smart contracts,” which are associated with blockchain platforms like Ethereum. However, what precisely is a smart contract, and how does one make one? This article will show you how to use the Solidity programming language to create an Ethereum smart contract. … Read more