Topic
Code
Programming, testing, and the open-source tools I build — PHP, JavaScript, TypeScript, and Rust.
-
Copying files… sometimes
File this one under “tools that probably only I will find useful”. In the course of my normal job I need to copy files…
-
Partial application and making tea
Partial application is like making tea. The person making the tea needs two pieces of information: what kind of tea, and how many people…
-
Avoiding Tightly-Coupled REST APIs
As you might have read, WordPress is getting a powerful REST API. For a few years now I’ve been writing endpoints for the WordPress.com…
-
get_deep_value in PHP
Ever have an array in PHP that looks like this? It can be annoying to pull deep values from such an array because if…
-
The “why” of writing tests
Unit testing is part of my normal development flow now. For the most part, I try to write my code in a “TDD” or…
-
Using React stateless components for quick prototyping
When you’re building a new app using React it’s nice to start laying out all the components you’ll want to use inside the components…
-
Re-ordering Objects in a List
In an old version of an app I wrote, I had a list of objects which were in a specific order. I wrote the…
-
ES2015 module re-exports
Today’s episode of TIL (“Today I Learned”) is: Did you know you can re-export modules in ES2015 (aka: ES6, aka: new JavaScript)? That is,…
-
8 HTML Elements You’re Not Using (and Should Be)
8 HTML Elements You’re Not Using (and Should Be).






