Rez Moss

Rez Moss

Personal Musings: A Blog for the Tech-Savvy and Curious Mind

Effective Use of Go's Built-in Maps - Jul 2021

Go’s built-in map type is a powerful and flexible data structure for storing key-value pairs. Understanding how t...

A complete guide on what is Average Handle Time (AHT) - Jun 2021

When we talk about the call centers, one of the most important things is the average handle time or the AHT. It is to...

Go's defer: Simplifying Resource Management - May 2021

The defer keyword in Go is a powerful feature that simplifies resource management and cleanup operations. It ensures th...

Go's init() Function: Uses and Best Practices - Mar 2021

The init() function in Go is a special function that’s automatically executed before the main() function. It serv...

Error Handling in Go: Best Practices and Patterns - Sep 2019

Error handling is a crucial aspect of writing robust and reliable Go programs. Unlike many other languages, Go takes a ...

Go Routines vs. Threads: Understanding the Difference - May 2018

In the world of concurrent programming, Go routines and threads are both powerful tools for executing multiple tasks si...

Understanding Callbacks in Node.js - Aug 2017

Callbacks are a fundamental concept in Node.js, essential for handling asynchronous operations. They are functions pass...

Working with Files in Node.js - Aug 2017

Node.js provides a built-in fs (File System) module that allows you to work with files easily. Here’s a quick gui...

Node.js and JSON: The Basics - Apr 2017

JSON (JavaScript Object Notation) is a lightweight data format that’s easy for humans to read and write, and easy...

Creating a Simple Web Server in Node.js - Mar 2016

Node.js makes it incredibly easy to create a basic web server. Here’s how you can do it in just a few lines of co...