Back in college, my idea of being a programmer was simple: sit in front of a laptop, put on music, and write code from morning to evening. Code goes in, the app runs, done, repeat tomorrow. It sounded like clean, purely technical, deeply independent work.
On my first day on the job, that picture leaked immediately.
My first task was not to build a feature. It was to read a four-thousand-line module written by someone who had already left, and figure out why the stock report was sometimes off by one. It took three days. I did not write a single line until day four. And strangely, those three days were one of the most productive weeks of my early career.
Since then I started counting, out of curiosity more than discipline. In a normal work week, how much time do I actually spend typing new feature code?
The answer disappointed me at the time: about a third.
The short answer
No. Writing code is the most visible part, the easiest to count, and the part outsiders use to judge our work. But in most real jobs, writing code is how you solve the problem, not the problem itself.
If I split a normal week into pieces, it looks roughly like this:
- A third of the time: writing code.
- A third: reading and understanding existing code, debugging, and reviewing other people’s work.
- The remaining third: talking to people, writing documents, making decisions, and keeping running systems alive.
Those numbers are not a survey result, just personal notes over several years. But the pattern holds, and almost every programmer with a few years of experience will tell you the same thing with slightly different numbers.
Let me go through each piece, because every one of them has a reason it cannot be avoided.
One: you read code more than you write it
This surprised me most when I started. Code at a company is not a blank page. There is a service that has been running for five years, conventions that exist in no document, and odd decisions that once made sense because of something that no longer exists.
Before you can change a line, you have to know what world that line lives in. Which parts are safe to touch, which parts will silently break the finance team’s report and go unnoticed until the end of the month.
I have no official figure for the read-to-write ratio. But in my experience, for every hour of new code in a large codebase, several hours go into reading. That is normal, not a sign that you are slow.
The dangerous one is the programmer who writes fast without reading. They close their ticket and leave three new bugs somewhere else that nobody notices for two months.
Two: turning requests into a clear problem
Requests arrive as human sentences: “Please add a report export feature.” That sentence looks clear until you start asking questions.
Export in what format? Who runs it? If the data is five hundred thousand rows, does it have to be instant, or can it arrive by email a few minutes later? Are the columns the same for every client, or does one client want their own layout? Do the numbers have to match the dashboard exactly, or may they differ because the formulas are genuinely different?
I once spent two days building a tidy CSV exporter, only to learn in the demo that the operations team actually needed an Excel file with several sheets and some colour. Those two days were not lost because I wrote bad code. They were lost because I did not ask first.
This work looks like “not programmer work”, but it is exactly where a feature gets saved or thrown away. Writing code for the wrong problem is still wrong code, no matter how fast you type it.
Three: deciding, and living with the consequences
Every technical decision is a trade-off, and the hard part is not picking the coolest option, it is picking the one that fits the team’s situation.
A small example I run into often. You need to send notifications to users. The options: call a third-party API directly from the service, or add a queue and a separate worker. The first takes a day. The second takes a week and adds a component you have to deploy, monitor, and restart when it jams.
If traffic is small and notifications are not critical, the first choice is right. If those notifications carry payment receipts that must not disappear when the vendor’s API times out, the first choice is a time bomb.
What I have learned: good technical decisions are rarely the most advanced ones. They are usually the ones easiest to explain to someone else and cheapest to maintain a year later. And making that call needs context that is not in your editor: who will maintain it, how big the team is, how bad it is if that component dies.
Four: keeping what already runs alive
This part was missing from my college imagination, but it is now the part that most often wakes me up at night.
An app people use has a property nobody teaches in class: it breaks in ways you did not predict. The database fills up because of one log table nobody ever cleans. Memory climbs slowly for ten days and then the pod dies. One query is fine on test data and becomes a disaster once the table holds two million rows.
When that happens, you are not writing features. You are reading logs, comparing graphs, guessing, asking support when the complaints started, and then writing a small fix that might be three lines. Those three lines take four hours, and those four hours are extremely valuable.
There is also the more boring part you cannot skip: updating dependencies, fixing a pipeline that suddenly went red, making sure backups can actually be restored, upgrading a runtime before its security support ends. Nobody tweets about this work. But skip it and everything stops at once.
Five: communicating with humans
This is the most underrated part, especially by programmers who just started and believe technical skill is everything.
You will write pull request descriptions that must make sense to someone who has not looked at your screen for two days. You will explain estimates to a product person without making them feel lied to. You will decline an unreasonable request without making the other person feel stupid. You will say “this needs two weeks, not two days” with a reason people can trust.
I have seen two equally smart programmers complete the same task. One could always make others understand what they were doing and why. The other was always seen as “hard to work with” even though his code was good. Guess who got promoted faster.
Writing good code is partly about writing for other humans. Variable names, folder structure, error messages, comments that explain why rather than what, notes on a pull request. All of it is communication.
What my week looks like, measured
This is from one ordinary work week, not a big release week. Treat it as a snapshot, not a standard:
| Activity | Share of time |
|---|---|
| Writing feature code or fixes | about 35% |
| Reading code, debugging, reviewing pull requests | about 30% |
| Meetings, discussions, clarifying requirements | about 15% |
| Writing documents, notes, tickets | about 10% |
| Keeping systems alive: deployment, monitoring, dependencies | about 10% |
Add it up and the time spent typing genuinely new code might be three to four hours a day. The rest is still work, it just does not look like “coding” to someone watching from a distance.
And to be clear: this table is not a defence of excessive meetings. If your meeting share climbs to forty percent, that is not a sign you are senior, it is a sign the organisation is broken. The numbers above are a balanced point for a small team running a product people actually use.
So writing code is not the main thing?
That is not what I mean. Writing code is still the core of this job, and nothing replaces it.
Everything above ends up as code: the understanding of requirements becomes code, the debugging becomes code, the architecture decision becomes code. If you cannot write clear, maintainable code, no amount of communication skill will save your product. You will just be the person whose meetings are pleasant and whose features never ship.
What I want to change is the picture, not the priority. Writing code is the centre, but it is not the whole. Think of a doctor: the core of the job is diagnosing and treating, yet most of the day goes into asking, recording, explaining, and reassuring. If your doctor only wanted to cut, you would run.
What changes as you level up
The more senior you get, the smaller the coding share usually becomes, and not because people get lazy.
A good junior programmer spends most of their time writing code, and that is correct. They are building speed, a feel for the language, and the habit of writing tests. At that stage, hours of writing cannot be replaced by theory.
As you move up, the job shifts towards making other people able to write correct code: breaking big problems into small pieces, choosing approaches, reviewing work, holding the standard. You write less code, but your effect is larger.
Some programmers deliberately stay on a pure technical track and never want to manage. That is legitimate, and many companies have that path. But even on that path, the work is full of reviews, design, and discussion. There is no level where you finally write code eight hours a day undisturbed, unless you work alone and have no users.
If you are just starting, what to practise
If you are learning programming and reading this with some disappointment, here is the advice I wish someone had given me:
Practise reading code, not only writing it. Pick a small open source project, try to understand one function without documentation, then change one small thing. This skill gets used fastest in real work.
Get in the habit of asking before writing. Before you start, write three sentences: what problem this solves, who uses it, and how you will know it worked. If you cannot answer one of them, you are not ready to write.
Learn to write explanations. Not long essays, just pull request notes: what changed, why, and what you tested. This is a skill with an immediately visible difference.
Do not fear unglamorous work. Removing one dependency, fixing one uninformative log line, or speeding up one slow query is often more impactful than adding a new feature. That work will not make your portfolio, but the people who maintain it will remember.
Learn a little about systems, not just syntax. Basics of networking, databases, and deployment let you take part in decisions instead of only working through tickets.
When the answer really is “yes, mostly writing code”
So this does not become a dogma, there are situations where your job is genuinely dominated by writing code, and that is not a bad thing.
If you work as a contractor with a very clear specification, a narrow mandate, and no production responsibility, most of your day really is writing code. If you build a library, a compiler, or an internal tool whose users are other programmers, communication with end users is far smaller. If you are in the early phase of a project on your own, you write a lot of code because there is nothing to maintain yet.
But notice: the moment there are real users, the bill arrives. Systems need deployment, errors need reading, and people need to be told what changed. Almost no programmer avoids that part forever, unless the project stops being used.
Closing
Writing code is the part of this job I love most, and I will not pretend otherwise. It is satisfying when one complicated problem finally becomes a few clear lines that other people can read.
But if someone asks whether being a programmer is just writing code, my answer is no, and it is precisely the other parts that make your code matter. Code written without understanding the problem gets thrown away. Code written without thinking about maintenance becomes a bad inheritance for your team. Code nobody ever explained becomes something other people are afraid of.
So if you chose this path because you love writing code, good, that is a solid foundation. Just be ready for the fact that most of your days will go into things that do not look like coding: asking, reading, deciding, and explaining. For me, that is exactly what made this job far more interesting than I imagined in college. 💻
Code Is the Tool, Not the Whole Job
If you are considering this career, do not measure yourself by how many lines you wrote today. Measure by how many problems actually got solved, and how many people found their work easier because of what you did.
Comments
comments powered by Disqus