A six-hundred-line deploy script rewritten in a compiled language in 2024, and a second rewrite back to shell. The rewrite was correct about the problem and wrong about…
A snapshot test that failed, an approval taken on the basis that the change was intentional, and a diff nobody opened. A snapshot test moves the verification from…
A hand-written design system, evaluated against a framework, and kept for a reason that is not technical. The utility layer is genuinely better in a framework and it…
An interface introduced in 2022 for testing, which turned out to be the only reason a subsystem could be replaced in a fortnight. A comparing implementation running both…
A trait providing a logger to eleven classes, each of which called a static accessor to get one. The trait was hiding a service locator behind a method…
Four array functions that every project had written as helpers, finally in the language. array_any short-circuits, which is the difference from array_filter followed by a count and matters…