Usman Haider
Home
Blog

Writing

My brain-dumps on software engineering, distributed systems, and coding craft. Zero fluff, plenty of geeky enthusiasm.

Vibrant multicolored source code displayed on a computer screen, depicting programming and web development concepts.

Making invalid states unrepresentable in TypeScript

Jul 23, 2026 · 5 min read

Most "impossible" bugs are really states the type system let you construct. Discriminated unions let you delete a whole category of them by design — before they ever run.

Abstract illustration depicting complex digital neural networks and data flow

Rendering millions of points in the browser with deck.gl

Jun 28, 2026 · 6 min read

Putting millions of geospatial features on a map without melting the main thread is mostly a story about the GPU — and about what you choose not to render.

Close-up of colorful programming code displayed on a monitor screen

Why I still reach for test-driven development

Jun 10, 2026 · 4 min read

After a few hundred thousand lines of code, TDD isn't dogma for me — it's the fastest way I know to design software I actually trust.