JavaScript Higher-Order Functions: A Guide with Examples

Functions are one of the fundamental building blocks in Javascript. A function is a set of statements that perform a task or calculate a value. They come in handy as they simplify our program’s structure, readability, and reusability by abstracting the implementation of a particular algorithm. As a functional language, Javascript supports the concept of … Read more

Rust | (Solved) “Missing type for `const` or `static`”

Have you come across the following error error: missing type for const item in Rust? Chances are, you defined a constant value like this: At first, this doesn’t seem to be an error as Rust is capable of implicitly determine the data type of other non-constant scoped variables (let ) like the one you see … Read more

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