Articles, page 2

Don't Build One-Off Solutions — Build Reusable Patterns


Spot classes that solve the same problem differently, extract the common part into a generic pattern, and replace old code step by step.
Read more ⟶

How to Break Your App on Purpose: A Short Guide


A tongue-in-cheek guide to making your app buggy: skip unit tests and more, plus answers to the usual excuses for not testing.
Read more ⟶

How Making Coffee Helped Me Find a Bug


A breakpoint that only fired while I was making coffee, and how the browser's idle API turned out to be the culprit.
Read more ⟶

Improve Your Workflow with Custom TODO Labels


Go beyond TODO and FIXME: set up custom IDE labels like IMPROVE or QUESTION to keep your code notes organised.
Read more ⟶

How to Choose Better Class Names


Stop agonising over class names: start with a temporary name like Foo, implement the logic, then name it by what it actually does.
Read more ⟶