Go Generics: Where I Actually Use Type Parameters
I wrote the same map helper four times before using Go generics. Where type parameters earn their keep, where I backed them out, and what…
I wrote the same map helper four times before using Go generics. Where type parameters earn their keep, where I backed them out, and what…
Tailwind v4 dark mode: why your theme flashes white on load, the blocking script that fixes it, and the color-scheme line that saves your scrollbars.
Monorepo or polyrepo? I merged four repos into one, kept two apart, and here's the rule I use now, plus the pnpm and Turborepo setup…
I hid a runtime bug behind an as cast for three weeks. Here's how TypeScript's satisfies operator checks objects without widening them, and when to…
My long-context RAG bot kept refusing questions whose answers were right there. The fix was in my anti-hallucination prompt, not my retriever.
PHP 8.4's asymmetric visibility lets a property be public to read but private to write. I deleted a stack of getters. Here's the syntax, the…
I finally moved a production app from the Next.js Pages Router to the App Router. The real data-fetching and layout rewrite, plus what annoyed me.
I avoided Rust macros for a year, then learned them in a weekend. Here is when macro_rules! earns its place, when to skip proc macros,…
In FastAPI, async def is a promise not a superpower. Here's the def vs async def rule I use, the incident that taught me the…
I ran Claude's prompt caching in production for six months. Here's the cache_control setup, TTL trade-offs, and the anti-patterns that burned me.