1. What happens when you extract a function anyway?

    Imagine you’ve got this snippet of code: (If this looks scary, try reading the original code from testdouble.js—I’ve made some changes to it here that make it a bit uglier)
    Time An icon of a clock Publish Date
    May 28, 2019
    Person An icon of a human figure Authors
    Kevin Baribeau
    Category An icon of a paper organzier Categories
    JavaScript
  2. Abusing Promises as a Locking Mechanism

    One of my favorite things about Promises in JavaScript is that they have a well-defined and narrow purpose: you ask for data and get a Promise that will give it to you asynchronously.
    Time An icon of a clock Publish Date
    May 14, 2019
    Person An icon of a human figure Authors
    Neal Lindsay
    Category An icon of a paper organzier Categories
    JavaScript
  3. Running Node on Raspberry Pi

    Last Christmas I received a gift so diabolical it ruined many weekends and kept me up at night. It was a brand new Raspberry Pi Zero. The possibilities were too endless for my finite brain to handle, so I took the only obvious course of action.
    Time An icon of a clock Publish Date
    January 18, 2019
    Person An icon of a human figure Authors
    Kaleb Lape
    Category An icon of a paper organzier Categories
    JavaScript
  4. Open source spotlight: Dependable

    Recently, Michael Schoonmaker, Joshua Starkey, and myself got together to brainstorm some improvements we wanted to make to an open source library called Dependable that we had used on a client project.
    Time An icon of a clock Publish Date
    April 6, 2018
    Person An icon of a human figure Authors
    Dave Mosher
    Category An icon of a paper organzier Categories
    JavaScript
  5. testdouble.js 2.0

    The best mocking library for JavaScript testing has just gotten a whole lot better with today’s release of testdouble.js 2.0. This release irons out a few public API quirks found in the 1.
    Time An icon of a clock Publish Date
    March 13, 2017
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    JavaScript
    Testing

Search An icon of a magnifying glass Search the Blog