---
title: "Brendan Duffy (@devduffy) | Hashnode"
description: "Brendan Duffy (@devduffy) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@devduffy"
---

@devduffy

# Brendan Duffy

@devduffy · Joined April 2021

[Website](https://www.webdevduffy.com/)

### [Destructuring vs. Rest](https://devduffy.hashnode.dev/destructuring-vs-rest?utm_source=hashnode&utm_medium=feed)

Photo by The Creative Exchange on Unsplash How are Destructuring and Rest similar like the Bryan Cranston twins you ask? Well, destructuring and rest both unpack values from arrays, or properties from objects, and set them to local variables. How a...

2 min read · [devduffy.hashnode.dev](https://devduffy.hashnode.dev/destructuring-vs-rest?utm_source=hashnode&utm_medium=feed)

[May 6, 2021](https://hashnode.com/posts/destructuring-vs-rest/60941646a7a3827bb64ce3bf)

### [How To Change Master Branch To Main Branch Before Pushing Remotely To GitHub.](https://devduffy.hashnode.dev/how-to-change-master-branch-to-main-branch-before-pushing-remotely-to-github?utm_source=hashnode&utm_medium=feed)

Photo by Zach Reiner on Unsplash All new source code on GitHub is named "main" not "master" now. I had a local-only project that had a "master" branch on it: I honestly don't remember how it happened, but irregardless, I wanted to change it to ...

1 min read · [devduffy.hashnode.dev](https://devduffy.hashnode.dev/how-to-change-master-branch-to-main-branch-before-pushing-remotely-to-github?utm_source=hashnode&utm_medium=feed)

[May 1, 2021](https://hashnode.com/posts/how-to-change-master-branch-to-main-branch-before-pushing-remotely-to-github/608cde38dc886b4318004cb0)

### [How to Create a GitHub Account](https://devduffy.hashnode.dev/how-to-create-a-github-account?utm_source=hashnode&utm_medium=feed)

Photo by Roman Synkevych on Unsplash So you want to start a GitHub page? Awesome! Here is a easy step-by-step guide how to do it: Go to www.github.com: Enter Email address and click large green "Sign up for GitHub" button: Enter a Username, Passw...

1 min read · [devduffy.hashnode.dev](https://devduffy.hashnode.dev/how-to-create-a-github-account?utm_source=hashnode&utm_medium=feed)

[Apr 30, 2021](https://hashnode.com/posts/how-to-create-a-github-account/608c8131dc886b4318004937)

### [Make a FREE Website on GitHub!](https://devduffy.hashnode.dev/make-a-free-website-on-github?utm_source=hashnode&utm_medium=feed)

Here is how to make a free website on GitHub: You will need to have a code editor. I recommend Visual Studio Code (VS Code) because it's free and has amazing extensions. My guess is that 9.5 out of 10 web developers use VS Code. It helps if you kno...

2 min read · [devduffy.hashnode.dev](https://devduffy.hashnode.dev/make-a-free-website-on-github?utm_source=hashnode&utm_medium=feed)

[Apr 30, 2021](https://hashnode.com/posts/make-a-free-website-on-github/608c8097a3716542f363e593)

### [Arrays, Loops and Functions as Explained to a Five-Year Old](https://devduffy.hashnode.dev/arrays-loops-and-functions-as-explained-to-a-five-year-old?utm_source=hashnode&utm_medium=feed)

If I had to explain arrays, loops and functions to a 5-year old this is how it would go. I have a 5-year old daughter so I imagined I was speaking to her when I wrote this. Here goes nothing...no I got this right little dude?!: Arrays, loops and fu...

4 min read · [devduffy.hashnode.dev](https://devduffy.hashnode.dev/arrays-loops-and-functions-as-explained-to-a-five-year-old?utm_source=hashnode&utm_medium=feed)

[Apr 30, 2021](https://hashnode.com/posts/arrays-loops-and-functions-as-explained-to-a-five-year-old/608c6e04dc886b4318004823)
