Writing

Notes on system design, engineering decisions, and lessons learned building real products. Some are polished evergreen content, others are ideas still taking shape.

Growth:

The Best Line of Code Is the One You Never Write

The best line of code is the one you never write. The second best is the one you delete. In an era where code is cheap, clarity is expensive. That is where real engineering lives.

AIArchitectureBest PracticesCode ReviewDesign PatternsGo

Understanding Next.js Page Caching (with a real example)

Caching can be a tricky topic, especially when pages don’t update the way you expect. I recently ran into a situation on my /writing page where new articles would not appear immediately, even though individual posts showed up instantly. Diving into Next.js caching taught me a lot, and I want to share what I learned so others can avoid the same confusion

CachingFrontendTypeScript

When Software Decays and AI Accelerates Complexity

Like physical systems, software naturally moves toward disorder unless energy is applied to keep it organized. In codebases, this disorder appears gradually and often quietly.

AIArchitectureBest PracticesDesign PatternsSystem Design

Confidence, Not Coverage

Tests are often justified using coverage metrics. Coverage is a weak proxy for what tests actually provide: confidence.

BackendBest PracticesFrontendTesting
Showing 1-6 of 18 writings