Hey everybody, today we're going to look at the new features and changes introduced in ES2019 (also known as ES10) and see some practical use cases for each. There's two new methods available to arrays: .flat() and .flatMap. The .flat() method will return a new array with any…
Continue reading →After a bit of a break, I posted a new video called "What's new in ES2019 (ES10)" where I review the features added in ES2019 (aka ES10). You can watch the video below, or read the related article:.
Continue reading →Just posted a new video called "ES6 String Templates" which compares various ways of defining strings in JavaScript. You can watch the video below, or you can read the related article:.
Continue reading →In a previous post we looked at the string templates introduced in ES6 (or ES2015 if you prefer). We'll dig a bit deeper at how string templates are working "under the hood", and how we can expand upon them with Tagged Template Literals". How Do String Templates Work? Before we…
Continue reading →When ES6 (aka ES2015) landed in 2015, we were introduced to a new way of working with strings and variables: String Templates. Let's take a look at various ways of working with strings and how string templates improves this experience. I also added a video version of this lesson…
Continue reading →Do Code Reviews Really Matter? Having a second set of eyes to review code is key to catching potential problems. You might already be using linters in your projects, but code reviews provide a method of enforcing coding standards that are difficult to automate away. Code reviews…
Continue reading →With the release of ES6 (or ES2015, whichever you prefer) in 2015, we were given two new ways to define variables: let and const. To understand what value these provide, we'll take a look at the original way to define variables with var and its problems, then we can see how let…
Continue reading →In Part 1 of Punctuation for Web Developers we looked at hyphens and dashses. This time we'll look at quotes, ellipses, and how best to use them. As a programmer, you likely type single-quotes (or "apostrophes") and double-quotes on a daily basis, but did you know that those aren…
Continue reading →As a front-end developer you'll inevitably have to work with copy or text. Whether you're writing your own copy or it is provided to you, it is important to have proper grammar by using the right characters. For this article we'll take a look at hyphens and dashes. If you take a…
Continue reading →What is Functional Programming? Functional programming is a style of programming where you avoid mutating (or changing) data directly, but instead create new data. The key to functional programming (and the reasons it's called "functional" programming) are functions, which when…
Continue reading →