Andrew Wong Archives

Go (Golang) Structs

In Go (Golang), a struct is a composite data type that allows you to group together related...

Functions in Go (Golang)

A function in Go (Golang) is a reusable block of code that performs a specific task. Functions are...

Variables in Go (Golang)

In the Go programming language, a variable represents a named memory location that stores a value. Variables are...

JavaScript Promises

In JavaScript, a promise is an object representing some value that may not yet be available, but...

Hoisting in JavaScript

In JavaScript, hoisting refers to the built-in behavior of the language through which declarations of functions, variables,...

Immediately invoked function expressions (IIFE) in JavaScript

An immediately invoked function expression, or IIFE (pronounced iffy), is a function that is called immediately after...