Photo by Kai Wenzel on Unsplash

In my previous blog, we discussed variables in Go. Here we will discuss the basic data types in Go; boolean, numeric, and text. These data types are also known collectively as primitives and are built into Go’s compiler.

**Some examples and overall structure of this blog come from Free Code Camp’s “Learn Go Programming — Golang Tutorial for Beginners” course on YouTube. **

Booleans are common in programming languages and represent a value of either true or false. Booleans can be written a few different ways in Go. …


Photo by Mitchell Luo on Unsplash

Go was created in 2009 by Robert Griesemer, Rob Pike, and Ken Thompson at Google. Go is an open-source, statically typed, compiled language and is commonly referred to as Golang. Some of Go’s key benefits include “…memory safety, garbage collection, structural typing, and CSP-style concurrency” (Built In).

This blog is designed to show how to work with variables in Go and will cover the following topics:

  1. Declaring variables
  2. Redeclaring variables
  3. Shadowing
  4. Naming variables
  5. Scope
  6. Converting data types
  7. Constants

**Some examples and overall structure of this blog come from Free Code Camp’s “Learn Go Programming — Golang Tutorial for Beginners” course…


Photo by Yogas Design on Unsplash

Before diving into this blog, I recommend taking a look at my previous blog, where I introduce WebSocket APIs. From the article, you will find a high-level overview of how WebSockets APIs work and the main components of a WebSocket API. This blog will focus on the technologies and steps I used to create a WebSocket Chat Application that meets the following guidelines:

  • Logs messages as they happen and shares those messages with everyone connected to the app immediately.
  • Results remain between sessions and only the last ten messages are displayed in descending from most recent to oldest.

Backend: CRUD…


Photo by Austin Distel on Unsplash

In a recent code challenge, I was tasked with creating an application that logs messages as they happen and shares those messages with everyone connected to the app. As a Full Stack Developer, I’m very familiar with working with RESTful API’s and utilizing HTTP requests between a client and server. However, to complete the task at hand, I needed to create a special type of API, a WebSocket.

WebSockets are a fairly new technology; the first WebSocket protocol was designed by Michael Carter in 2008 for HTML 5 (Topio Networks). MDN Web Docs describes a WebSocket API as “… an…


Photo by Safar Safarov on Unsplash

As a Software Engineer, I have many files and folders on my computer filled with my various coding projects. Therefore, having to navigate through the many different folders to get to the project I’m looking for in the terminal can take more than a few lines of code. Luckily, there is a better way to navigate to folders and projects. Enter Bash Profile Aliases.

Before discussing Bash Profile Aliases, let’s take a step back and review some terminology. Software engineers wanting to use the Command-Line Interface (CLI), need to open what’s called the terminal; short for terminal emulator. When the…


Photo by Christina @ wocintechchat.com on Unsplash

If you read my previous blog regarding Big O Notation, you may remember that an algorithm is defined as “a finite sequence of well-defined, computer-implementable instructions, typically to solve a class of problems or to perform a computation ” (Wikipedia). Algorithms are important for all software engineers to study as they can help us solve problems we may encounter in the work place.

You may be reading this blog post because you are currently in your job search. If that is the case, LeetCode and HackerRank both have hundreds of practice algorithm problems for job seekers to leverage. …


LinkedIn, Facebook, Text Messaging, Twitter

Photo by Hello I'm Nik 🎞 on Unsplash

I recently created a portfolio website to share with my future employers. One thing that I did not take into consideration, though, is how sharing the link to my website would look on social media sites like LinkedIn, Facebook, etc. So, when I went to add my new portfolio website to my featured section on LinkedIn, LinkedIn provided the following image and text for my post.


Photo by NASA on Unsplash

If you have deployed your app on Netlify but would prefer to use a domain you purchased on GoDaddy, this is the blog for you.

This guide will walk you through the necessary steps to use your custom GoDaddy domain while continuing to use Netlify and all of its useful deployment features.

Prework

This blog assumes that you have already created a Netlify account and purchased a GoDaddy domain. If you have not done so, you can Sign-up/purchase here (Netlify & GoDaddy).

** Please note that Netlify now allows users to purchase domains direct **

For a tutorial on how…


Converting Ruby Strings to Local Time in React

Photo by Fabrizio Verrecchia on Unsplash

In a recent coding challenge, I was tasked with building a chat application. One of the requirements was to show the time the message was posted. My first thought was to use the Ruby created_at string provided by my fetch. However, that string looks like this:


Overview & Example

Photo by Pavan Trikutam on Unsplash

What is Recursion?

A recursive function is a function that calls itself. It’s important to learn recursion because it’s used in common built-in JavaScript methods such as JSON.parse, JSON.stringify, and document.getElementById (Steele). Also, recursion is essential to understanding Tree and Graph traversal algorithms, which we will discuss in future blogs.

What is the Call Stack?

Before diving any deeper into our discussion of recursion, it’s helpful to discuss the call stack. A call stack is used in most programming languages. It is a, “… built in data structure that manages what happens when functions are invoked” (Steele).

When functions are…

Matthew Sedlacek

Software Engineer — Full Stack, JavaScript, ReactJS, Ruby on Rails, OO Programming (https://www.matthewsedlacek.com/)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store