📖 yourdailystory
Technical Depth & Craft
Published on Saturday, 28 November 2026 · ⏱ 7 min read

Ward Cunningham and the 1992 'technical debt' metaphor

Today's skill is keeping your code honest. The one big idea is this. Code should always say what you understand today, not what you understood on the day you wrote it.

That idea has a name you already know. Technical debt. But the person who coined it meant something narrower and sharper than most people use it for now.

Here's how we'll walk through it. Four steps. Break it down. Remove the friction. Learn the warning sign. Then practice with focus.

Start with step one, breaking it down. The smallest useful piece of this skill is tiny. It is one name. One function, one variable, one class. Ask a single question about it. Does this name still describe what this thing really does? That's the whole skill at its smallest. Not a big rewrite. One honest name.

Step two is removing friction. What makes this hard to start? Mostly, it's that fixing a name feels like admitting a mistake. It also feels risky, and nobody asked you to do it. So shrink it. Pick one thing. Make the change alone, in its own small commit, with nothing else mixed in. A small change is easy to review and easy to undo. That removes most of the fear.

Step three is learning enough to self-correct. Here is the warning sign. You catch yourself explaining the code out loud with a disclaimer. "Oh, that's called a handler, but it actually validates things." Or, "Ignore that field, it means something else now." Every time you say "but actually," you are paying interest. The code says one thing and you carry the truth in your head. That gap is the debt.

Now to step four, practice with focus, and a real story to ground it.

The Story

In 1992, a programmer named Ward Cunningham stood up at a software conference called OOPSLA. He was not there to give a big keynote. He was there to write up an experience report. It was about a real product his company had built, called the WyCash Portfolio Management System. It tracked bond portfolios for people who managed money. The team wrote it in Smalltalk, a language that let them change code quickly.

Ward Cunningham was already known for ideas that shaped how programmers work. Among them was the wiki, which came a few years later. But on this day he was dealing with a plain problem. How do you explain to people who don't write code why you sometimes need to go back and rewrite code that already works?

His company had financial people in it. They understood loans. So he reached for a loan.

In the report he wrote that shipping first-time code is like going into debt. A little debt speeds development, he said, as long as it is paid back promptly with a rewrite. The danger comes when the debt is not repaid. Every minute spent on not-quite-right code counts as interest on that debt.

Notice what he did not say. He did not say write bad code on purpose. He did not say cut corners and fix them someday.

Years later, Cunningham went out of his way to clear this up. In a short video he recorded in 2009, he said the metaphor was never about writing poor code with a plan to fix it later. He said you should write your best code, based on what you understand right now. Then, as you learn more about the problem, your code will drift away from what you now know. The debt is that drift. If you leave it, every new feature has to work around the old, wrong picture. You pay interest on every change.

Think about what that meant for the WyCash team. They were building software for a field that was new to them. The customers kept teaching them things. And each time, the way the team had first described the problem in code became slightly wrong. Not broken. Just wrong. The program still ran.

Here's the part that's easy to miss. Wrong-but-working code is the most dangerous kind. Broken code makes you fix it. Working code that misdescribes the world lets you keep building on top of it. Quietly, the next change gets harder. Then the one after that gets harder again.

Cunningham's answer was a habit, not a heroic effort. When the team learned something new, they changed the code so it said the new thing. Fast, small, and often. Smalltalk made that cheap. But the principle doesn't depend on the language.

Now the hard part, and it's an emotional one. When you learn something new about your own system, you are also learning that your earlier work was incomplete. That feels bad. A new programmer feels it as "I got it wrong." An experienced one feels it as "I should have known." Both feelings push you to leave the code alone, because touching it means looking at it.

The lesson from 1992 is that you didn't get it wrong. You got it right for what you knew. Learning more is not failure. It's the point. The only mistake is leaving the code unchanged after you learned.

The Skill

The skill is this. When your understanding changes, change the code to match, in a small step, soon.

Say it as a single rule. Rename or restructure one thing every time you learn something that makes its current name or shape untrue.

That's checkable. At the end of the day, you either changed one thing to match what you learned, or you didn't.

Notice what the skill is not. It is not "write perfect code." That's impossible, because you can't know in advance what you'll learn. It is not "clean up everything." That turns into a week-long project that nobody approves. And it is not "ship junk and promise to fix it." Cunningham himself said that wasn't his meaning.

It is the narrow, practical habit of closing the gap between what the code says and what you know.

Here is why this matters for a technical leader, not just a junior programmer. As you get more senior, you spend less time writing code and more time deciding what gets written. If you can't sense this gap, you will approve designs that bake in old misunderstandings. You'll be the person who says "we'll fix the naming later." And later never comes, because the interest is paid in small amounts nobody notices.

The sharpest people in a team are often the ones who can look at a piece of code and say, "This used to be true." That is deep technical craft. It isn't speed. It is accuracy.

Now a word on AI, because it fits here. An AI tool can rewrite a function in seconds. Don't let it do your noticing. The noticing is the skill. Instead, use the tool as a coach. Paste in a small piece of code and your current understanding of the problem. Ask it to quiz you. "What in this code no longer matches what I just told you?" Then you decide what's true and make the change yourself. An athlete doesn't hire someone to run the race. They hire someone to watch their form.

Do This Today

Before lunch today, pick one function or class from the last thing you shipped. Write one sentence saying what it really does today. If its current name doesn't match that sentence, rename it in its own small commit, and send the pull request to one named teammate to review. Done means one merged-or-open pull request with only that rename in it, and your sentence in its description.

Sources


This is a dramatized editorial narrative created for personal inspiration, drawn from publicly available sources listed above. It is not affiliated with or endorsed by the person, company, or their estate.

Read on yourdailystory.com →

One true story a day to get a little better. Start today's →

Share this story: WhatsApp · X · LinkedIn