Code

Tech

Advanced TypeScript Patterns: API Contracts

Using TypeScript to eliminate a class of bugs by guaranteeing compatibility between your API client and server.

Read
Tech

Advanced Promise Patterns: Promise Memoization

Memoizing async methods to simplify caching and avoid common race conditions.

Read
Tech

Measuring Test Flakiness with a Bash One-Liner

How do you know that you've really fixed the flakiness? How about some cold hard data.

Read
Tech

Advanced Async Patterns: Singleton Promises

Demonstrating a common concurrency race condition and fixing it using a Singleton Promise.

Read
Tech

On Opportunistic Refactoring

A useful piece of vocabulary for any software engineer. Commentary on the value of continuous and easy software refactors.

Read