• New Solutions to Old JavaScript Problems: 2) Default Values

    Introduction

    This is the second in a series on how new JavaScript features, introduced in the ECMAScript 2015 standard (aka ES6), allow for simpler solutions to some old JavaScript problems. In part 1 I covered block scope and the new let and const keywords. Here I will look at default arguments for functions.

    Default Arguments the Old Way

    Here's a very simple JavaScript function for logging a greeting message to the…

    • Mon, May 9 2016
  • When it Comes to Dataviz, Color is Complicated: Part 2

    This is Part 2 (in a series of 2) on why color is a complex and confusing topic. In Part 1 I looked at cases where colors might not be interpreted as expected. Here I'll cover the difficulties of picking a suitable palette.

    Be Subtle

    Even if you avoid color contrast illusions and palettes that are difficult for those with CVD to interpret, it's still easy to make something that looks bad. Strong, saturated, vibrant…

    • Mon, May 2 2016