This site runs best with JavaScript enabled.

What I want from life

What success looks like will be different for each person. What someone wants out of life will depend on what they have now, how they grew up, and what stage of life they are at. In this article I’ll share what I want from life. By sharing these details, I hope I’m more likely to achieve the things…

Read Article →

Don't Trust the Cascade

If you've been on the internet recently, you've probably heard of CSS-in-JS. The technology has been growing in popularity recently but not everyone is a fan. Today, I'd like to shed some light on what it is and help you decide if it is right for your next project. CSS-in-JS can mean a few things…

Read Article →

Things I don't know at the start of 2019

I recently read an article by Dan Abramov where he listed all of the technologies he wasn't familiar with. Dan is someone I look up to and seeing this kind of honesty from him only added to my respect. After reading his article I took stock of what I know and where my blind spots are and thought I…

Read Article →

Up and Running with Webpack 4

After much anticipation, Webpack 4 has finally been released and it is pretty great! If you are looking for zero config JavaScript bundling, then Webpack 4 is the tool for you. In this article, we’ll talk about the changes made from version 3 and how to get up and running with Webpack 4. Before we…

Read Article →

Pure Functions – Functional Programming in JavaScript

In this episode of Functional Programming in JavaScript, we discuss pure functions. You probably already use pure functions all the time and are unaware of what they are or what advantages they bring to your code base. Watch the video below to find out why pure functions are better and much more…

Read Article →

Reduce – Functional Programming in JavaScript

In this episode, we look at the reduce function and how to use it. Reduce is a massively flexible function. In this video, we use it to transform an array of data into an object and use it to recreate the filter function. How it's used An example of how the reduce function can be used to total all…

Read Article →

The Filter Function - Functional Programming in JavaScript

In today's episode, we'll learn how to use the filter function and how it can be chained with other array functions such as map. If you've not seen the previous episode, you can find it here. The Map Function The filter function is part of the array object. It is used for filtering elements out of…

Read Article →

The Map Function - Functional Programming in JavaScript

Today I am pleased to bring you what will be the first episode in a series of videos on Functional Programming in JavaScript. This episode covers the map function. To see more of my videos, check out my other screencasts The map function is part of the array object. It is used for transforming…

Read Article →

Dev Ops - An Introduction to AWS Lambda

If you've ever looked into AWS (Amazon Web Services), you'll know how overwhelming it can be. There are close to 100 different products and services with countless possible applications. If AWS wasn't confusing enough, the services have cryptic names making near impossible to guess what they do…

Read Article →

5 Reasons to Learn React

React is a big buzzword word right now. In fact, it has been a big buzz word for a few years now and with good reason. React has shot to meteoric success since its release in May 2013. Today I'll discuss 5 reasons to learn React. 1. Performance React is lightning fast. React works by taking…

Read Article →

Module Caching in Node

In Node.js we use the CommonJS module pattern for sharing code between files. In this article, I'll explain how to use the require keyword and how it's related to module caching in Node. CommonJS CommonJS is the pattern used in Node.js to share functionality from on file to others. A typical Node…

Read Article →

Using the Node.js Cluster Module

As we know, Node.js is a single threaded JavaScript runtime. A node process can only use a maximum of 1 CPU core and around 1.5GB of RAM. In this article, I will show you how we can use the Node.js cluster module to node processes to allow your app to take full advantage of the resources available…

Read Article →

JavaScript Fetch API

The Javascript Fetch API replaces XMLHttpRequest for making network requests from client side apps. One of the main differences is that XMLHttpRequest uses callback functions to handle the response where as Fetch uses promises. Let's look at an example of each. We'll make a request to an API and…

Read Article →

Async/Await – Wait, What?

With the release of the Async/Await syntax in JavaScript we now have a succinct and highly legible way of writing asynchronous code. In this article, I'll cover how to use Async/Await functions and why they are better than promises. Let's start by using the Fetch API to make a request to an…

Read Article →

Tools of the Trade - Front End Developer

The work of a front-end developer is complicated. There is a lot of compiling and minifying code, moving assets around and installing dependencies! Let's not forget actually writing the code too. In today's article, I'm going to talk about some of the tools often used by front-end developers to make…

Read Article →

Rubber Duck Debugging

It sounds crazy, right? A rubber duck is the perfect debugging partner. It has no arms or legs and sure as hell can't read or write code. So how can our little yellow friend help us write better code? Today we're going to learn about Rubber Duck Debugging. Let's take a step back for a second…

Read Article →

JavaScript Spread Operator

The Javascript spread operator is something I use on a daily basis. If you use Redux, or need to write any kind of functional JavaScript then you need to know how to use the spread operator. So what is the spread operator and how is it used? Lets see what the MDN has to say. Spread syntax allows…

Read Article →

Var, Let and Const - The Differences

With the release of ES2015, we now have three ways of defining variables in JavaScript. var , let and const . Let me explain the difference. Pun fully intended. There are some important differences between them and in this article, we'll discuss the differences and when you would use one of the…

Read Article →

JavaScript Arrow Functions

With the release of EcmaScript2015/ES6, JavaScript has undergone major changes . Amongst these major changes is the addition of javascript arrow functions. In this article , am going to explain what an arrow function is and how to use it. What is an arrow function? Before ES6, when we had a…

Read Article →

What programming language should I learn first?

Picking a programming language is one of the first things you have to decide when you want to learn how to write code. In this article, I aim to help make this decision easier and give you all the information you needed to answer the question "What programming language should I learn first…

Read Article →

Join the Newsletter

Want to hear more about my thoughts on software, the web and life? Sign up to my newsletter and I'll let you know when I publish a new article.



Paul McBride © 2020