Map, reduce and filter Javascript arrays
Javascript also has a set of map/reduce/filter functions. I've always curious about how they work. From what I see, these functions are closer to Functional programming than to data processing. They...
Javascript also has a set of map/reduce/filter functions. I've always curious about how they work. From what I see, these functions are closer to Functional programming than to data processing. They...
Rest and spread operators are two ways to manipulate arrays and objects in Javascript. In this post we'll review what they are and how to use them. Spread Parameters # The spread syntax expands an...
This is an interesting trick to help consolidate assets and reduce the number of network requests you need to make. Let's assume that your project depends on one big library like jQuery or Backbone to...
There is more to writing defensive CSS than what I thought. This post will look at feature queries (the @supports at rule) and CSS support for OS-level accessibility rules. Feature queries # Before...
There are a couple of additional items that I though were important enough to cover: generics and DOM manipulation. Generics # One of the things I find most interesting about Typescript is the idea of...
In the previous post we looked the tools we need to get Typescript transformed into Javascript to use in the browser. In this post we'll take a first look at the language itself and will discuss some...
Typescript is an interesting language. It's a typed superset of Javascript that you can compile to usable Javascript, either ES5 or later yearly versions of the language. Because it's not straight...
I'm working on a starter application template to get me started when working on prototyping ideas. One of the things that I'm most interested on is how to create a login system for Express-based...
Doing software updates outside of what Apple offers with macOS is tedious and easy to forget. I also have at least three different systems to update: Homebrew, Ruby Gems and Node.js installed with...
The Permissions API gives use the ability to request permission from the user to use a given web API. This is an update of the 2020 posts Feature Policies and Working with Feature Policies in...