Back to notes

Estimate software without pretending to predict the future

An estimate is not a promise: it is a temporary reading of the work, unknowns, and risks, and it must evolve with the project.

“How long will this take?” The question fits in one sentence. The answer depends on the existing code, dependencies, unresolved decisions, and every little monster hiding behind a ticket that looked perfectly innocent.

We demand a precise number at the moment when we have the least information. Then we act surprised when reality refuses to obey the spreadsheet.

You are not estimating only a task

Adding a button can take an hour. Unless that button depends on a poorly documented permission, triggers an unstable API, breaks an old business rule, and must work in a browser nobody mentioned. The button did not change. The world around it did.

In a complex system, the visible effort is only part of the work. You are also expected to estimate what you do not know yet. By definition, an unknown does not fit neatly into a duration column.

The number becomes a promise

An estimate should support a decision. Instead, it often becomes a deadline immediately. Say three days, and somebody enters three days into a plan, someone else tells the client, and your hypothesis suddenly becomes an official commitment.

The context and the conditions disappear, and only a number with your name next to it remains. From that point on, discovering uncertainty looks like a delay even though that uncertainty was part of the problem from the beginning.

Ego loves absurd deadlines

When somebody says your estimate is too long or the task is easy, the temptation is immediate: prove that you are fast. You shorten the timeline, assume everything will go well, and offer your sleep as the adjustment variable.

Experience does not mean predicting everything. It should teach you to recognise unclear areas, ask better questions, and reject precision that the available information cannot support.

Scope moves while the date stays still

The classic arrives during development: a rule changes, a new request appears, or a dependency behaves differently from the documentation. The work grows, but the date remains mysteriously motionless. Wonderful. Reality has just been asked to negotiate with the calendar.

An estimate remains valid only while its assumptions remain true. When scope, expected quality, or constraints change, cost and time must be discussed again. Otherwise, quality almost always becomes the sacrificed variable.

Points do not remove uncertainty

Agile methods can create a useful conversation about complexity. Trouble starts when points are mechanically converted into days and days into promises. The unit changed; the reasoning did not.

No ritual replaces understanding the work. Planning poker can reveal disagreement or an unknown. It cannot guarantee that an external library will behave tomorrow exactly as expected today.

A useful estimate exposes its conditions

Before answering, inspect the relevant code, ask questions, check dependencies, and run a small technical exploration when necessary. That time is already part of the work: it is the price of a less blind decision.

Give a range instead of a magical date. Explain the favourable scenario, the risks that may extend the work, and the assumptions behind the estimate. “Between two and four days if the API supports this” contains far more truth than “three days” thrown out between meetings.

Update early instead of apologising late

An estimate is not finished once announced. Every important discovery should update it. If day two reveals a problem that adds a week, waiting until the final evening will not make the news more pleasant.

Transparency gives the project a chance to respond: reduce scope, move a date, add help, or accept the cost. A delay hidden until the final evening leaves none of those choices.

What an estimate should show

A useful estimate makes confidence, risks, and available choices visible. Its value comes from the decisions it enables, not from a miraculous resemblance to the final delivery date.

Chaos will not disappear from software development. We can only stop hiding it behind a suspiciously clean number and work with it openly, even if that is less comforting than a firm date.