tshepiem.devtshepiem.dev

August 8, 2026 • 4 min read

Why I Stopped Measuring My Progress by How Much Code I Write

Writing more code does not necessarily mean making more progress. Building projects taught me to care more about solving the right problems than producing more lines of code.

4 • Views

4

• Views

  • Share on Threads
  • Share on X
  • Share on LinkedIn

Tshepang M. Kgaphola

Published • 3 months ago

Why I Stopped Measuring My Progress by How Much Code I Write

Image source: Unspecified image source

Earlier in my development journey, I sometimes associated progress with how much code I had written. A long coding session felt productive because I could see the number of files and lines increasing. Over time, I realised that software development does not work that way.

More Code Can Mean More Problems

Adding code increases the amount of software that needs to be understood and maintained. If the code does not solve a meaningful problem, writing more of it does not automatically improve the project. A large chunk of code I once added to handle a rare edge case ended up needing its own set of fixes and its own tests, and the whole feature would have been simpler without it. It is a lesson I now pass on to myself before I even need to relearn it. It sounds small written down, but it changed a real decision at the time.

Removing Code Can Be Progress

Refactoring sometimes means deleting code rather than adding it. Simplifying a component, removing duplication or eliminating an unnecessary dependency can improve a project even though the total amount of code decreases. Deleting nearly a hundred lines of duplicated logic from my own project felt, at the time, like erasing progress, even though the application became noticeably easier to reason about afterward. It is the kind of lesson that is easy to nod along to and much harder to actually apply. I try to remember that lesson every time a similar situation starts to appear.

Understanding Is Progress

Spending an hour understanding why something works can be more valuable than spending an hour rapidly implementing features. Knowledge reduces the amount of trial and error required later. Spending an evening understanding why a particular bug happened, without producing a single new line of code, left me better equipped for the next similar issue than a rushed patch would have. It felt minor at the time and only later revealed how much it actually mattered. I learned to expect it rather than be surprised by it each time.

Fixing a Difficult Bug Counts

A difficult debugging session may produce very little new code. The result might be one small correction, but the investigation can teach me much more about the system. A stubborn authentication bug that took most of a day to resolve produced barely five lines of final code, but the debugging process behind it taught me more than most features I have built. I still think back to that specific moment more often than I would have guessed. It is a habit now, though it took a specific mistake to actually build it.

Features Need Purpose

A project can have many features and still fail to solve its intended problem. I now try to think about the purpose of a feature before measuring the work required to build it. A search feature I once added to my portfolio, mostly because it seemed impressive, has never actually been used by a visitor, which reshaped how I evaluate new feature ideas today. I catch myself returning to that idea whenever a new project starts to grow. I did not expect something this ordinary to matter as much as it did.

Quality Matters

Readable code, useful error states, accessible interfaces, sensible architecture and reliable behaviour may not produce large commits, but they contribute significantly to the quality of an application. A clearer error message, added in a single line, has quietly prevented more confusion for visitors than several more elaborate features I built around the same time. That single change was small in code but noticeable in how the project felt afterward. That single experience changed how I approach similar situations today. I still notice the difference it makes whenever I apply it deliberately.

Progress Looks Different at Different Stages

Early in a project, progress may mean creating the basic structure. Later, it might mean improving performance, fixing edge cases or preparing the application for deployment. The measurement changes with the stage of the project. Early in a project, progress often looks like new pages and routes; later, it tends to look more like fixing an awkward edge case or simplifying something that had grown unnecessarily complex. That shift in thinking has quietly carried over into almost everything I build now.

I Measure Outcomes More Carefully Now

I still enjoy writing code, but I no longer use the amount of code as my main measure of progress. I care more about what I learned, what problem I solved and whether the project became better. I still enjoy the act of writing code as much as ever, but the number of lines it takes has stopped being any kind of meaningful measure of whether I actually solved something worthwhile. That experience is part of why I take this particular step seriously now. It is easy to skip this step when things feel like they are going well.

Like & share this article

  • Share on Threads
  • Share on X
  • Share on LinkedIn

Blog & Newsletter Information

For blog updates, article questions, topic suggestions, or other newsletter-related inquiries, contact newsletter@tshepiem.dev. By subscribing, you agree to receive blog updates, new article notifications, and occasional newsletter emails in accordance with our Subscription Terms. You can unsubscribe at any time using the unsubscribe link included in our emails.

Related articles