slowdev

layout · types · small projects

Notes on code

and the bits around it. I write when enough has piled up: layout, types, small projects, and the things that aren't worth a full article.

4 notesupdated 10 November 2026
10 November 2026

We type-checked more than we needed to

For eighteen months I lived with a config where every button was described by a string: primary, ghost, danger. It worked while there were three variants. When there were…

read
4 November 2026

The three-evening rule

I have a projects folder with twenty-three folders in it. Eight of them contain working code. The rest are a name, a two-line README and…

read
28 October 2026

I stopped writing CSS that does nothing

For half a year I carried the same set of rules from project to project. Margin resets, list resets, box-sizing for everything, tidy margin: 0 on…

read
19 October 2026

The button that lies

There's a class of interfaces that looks honest and behaves meanly: a "Send" button that starts out active and turns grey after the click.…

read