Today, I'm going to explore some insights and perspectives that often go unspoken in the process of building a software product -- things most people don't typically discuss openly. I hope this post helps you better understand how to gauge the complexity of your work and provide accurate estimates for your needs.
Let me set the stage before you dive in:
We can never give perfect estimates, but we can ensure that we don't give a bad one—one which you cannot recover from.
When we build a software product, we need to understand that it has two competing sides. These two sides often pull in opposite directions without even realizing it. This is the "Two-Body Problem" of software development.
It's not a 3-body problem, so it's easy, right? 😉
The first side of the problem is what your product team is trying to solve. This side's focus is solely on removing roadblocks for the user—anything stopping them from successfully using your software. From the product team's perspective, there is only one problem to solve: making the software pleasant and functional for the end-user.
This is the side the Product Team often overlooks (to be quite frank, because they want to solve user problems as quickly as possible). As developers, we must be aware of this reality. It is incredibly hard to accurately estimate technical work if you don't have a clear grasp of the current state of your architecture.
Let me give you an example of a system I worked on:
It was a web server with a single file. I thought, "Wow, what a simple service." Then I saw the total lines: it was a whopping 60,000 lines of code. One strange thing I noticed was that the team was actually proud of the "single file" status. Anyone who needed anything could find it there. But the reality was that it was becoming impossible to manage:
The reality was that for two years, the team kept piling on feature after feature into the same file, never looking back. The product team was happy to deliver new features quickly, but they were doing so without considering the long-term impact on the codebase.

The product team had big plans for a full revamp and, naturally, they expected it to be done in record time, given how 'amazing' our tech team is. But here's the twist: they wanted me to completely overhaul all the logic to fit the new requirements... and yep, you guessed it -- still in that same file! Oh, the joy!
When I analyzed the code, I saw that I had to touch almost all the functions inside this file (except some helper functions). This is a massive red flag. It means there are two competing pressures again:

Here's how I tackled this fiasco -- no, I didn't quit (though I considered it). Instead, I took the long road of explaining why a complete rewrite was necessary for a core service.
Spoiler alert: it took forever! A solid 10% of my time was spent just convincing everyone to go for the rewrite. In the end, I refactored the whole thing into composable components (the way it should’ve been from the start) and, surprise, surprise -- I missed the deadline by... 3 months!
The upside of this stunt was that we were eventually able to deliver way faster than our original estimates -- the difference is that we were doing it by evolving our codebase with all the planned features included.
It's time for some reflection -- how could we have planned better?
To explain how I think about software, let me tell you about the room.
Imagine that you are sitting in a room and you have things lying around.
These things are all components of your software system -- one has turned old
and is breaking down, one is rusty, one is really shiny. Also, there are
hidden tensions between what you think the state of the product is and the
actual state of the tech.
We need to see these as two different entities. You have to know the state of your tech. This is so important that I will not shut up until you get it. You need to know which part of your system is fragile and which is strong, which is shiny and which is old. This awareness helps us do three things:
All the estimation tips I shared in the 'Reading the Room' section sound great in an ideal world. The reality, however, is often a bit different. More often than not, the product team is eager to solve a problem quickly -- usually one that's happening in the part of the system that's falling apart right before your eyes (not being dramatic at all).
It's just one more change, right?
Keeping in mind the foresight and dedication you have to maintain an ideal version of the system in your mind, you have to find a middle ground. The middle ground is: "how can you turn this old crumbling piece of code into a stable crumbling piece of code?"
If you do this over and over again, you will find that most of the problems that you faced during the first iteration are no longer there. You not only deliver the product requirement, but you pave the way for a better system. The gist is: you kickstart the process of evolution. Instead of a total rewrite, you might break off one small piece of the "crumbling" logic into a tested, isolated function. You not only deliver the feature, but you leave the code in a better state than you found it.
It's by leaving it in a better state than it was before.