Articles

Software engineering lessons from production, raw and honest from the heart — almost 20 years of them. Jump to a year in the sidebar, or browse categories.

December 2024

Empirical evidence for code modularity

Few of your engineering decisions matter long-term. Software is soft. You can change your mind. But how you structure your components is here to stay.

November 2024

Why even care about code structure

As long as it works, right?

The anatomy of a React Island

A coworker asked how React Islands work and I realized it's a technique I've been using to modernize monolithic web codebases for years, but never wrote down how it works.

Finding modules in a big ball of mud

Pulling modules out of a big ball of mud is like grabbing a slice of cheesy pizza. It's kinda separate but also not really.

Why you need observability more than tests

Here's a short and sweet story about a Friday deploy. I love Friday deploys.

The swarm doc

Here's a doc I like to use to structure the pre-work design chat that makes later code review a breeze.

Big Ball of Mud – the world's most popular software architecture

Forget Gang of Four, here are the 7 architectural patterns real programmers use:

Why software only moves forward

At scale there are no rollbacks and no cut-overs. Your software only moves forward.

October 2024

Don't judge tech just because you're old

Your favorite way of doing things may just be an expression of tech limitations at the time

"Yes caviar is great, here's a ham sandwich"

Why do some projects ship and others seem to drag on forever? You need 3 people to get this right.

Yes, AI will "take" your job. No, you won't mind

Is the job to get things done or to memorize trivia and solve cute coding puzzles?

It made me $500k but I think content is a bad business

Why I didn't become a full-time creator/educator

Make mistakes easy to fix

You can't prevent bugs. You'll burn out. Instead focus on making them quick to fix.

September 2024

The Laws of Software Evolution

Manny Lehman was one of the first to notice that software is never done. It just continues to evolve forever.

The Series A inflection point

The Series A inflection point is the most fun time in a startup, if you ask me. Here's what it looks like

You can side-step a yak, they don't all need to be shaved

When yaks aren't procrastination, they might be tunnel vision. You're so focused on the right solution, you miss the good enough solution

Better is good

A small improvement that lands is better than a large improvement stuck in review

How big up-front design fails

A long design phase without shipping kills many software projects. Here's a story from production I haven't shared before.

The Tour of Duty approach to career

Quick note today to plant the seed of an idea I've always loved: The Tour of Duty.

Why software projects fail

5 common themes

August 2024

What helps you ship confidently?

Been thinking about what needs to be in place for engineers to ship with confidence

Interviewing tips for experienced engineers

The way you interview changes as you go through your career. If you're grinding leetcode 10 years in, something's wrong.

Let small fires burn

You can't fix everything. Focus on the next big thing and let the small fires burn.

Tips from 8 months of TanStack/Router in production

On my last day at Tia I wrote a master vision doc for our TanStack Router app. Here are the parts I can share.

Some personal news

When you see a unicorn, you gotta hop on

Small change in big scary codebase?

Making small changes in large unfamiliar codebases is the job. That's what engineers do all day.

Why SQL is Forever followup

Yes SQL is super flexible. That is its strenght and its weakness

July 2024

Why SQL is Forever

Never underestimate the power of good marketing for bad products. NoSQL was fun but SQL is here to stay.

90% of performance is data access patterns

Removing a single line of code slashed database CPU usage by 66% 🤘

DRY – the common source of bad abstractions

Swizec reveals the hidden pitfalls of overusing the DRY principle in coding, leading to bad abstractions. Discover how to write adaptable, efficient code that avoids these common traps.