Skip to content

Engineering habits · Part 7 of 10

Estimating and slicing work without false precision

Estimates are ranges with risks, not promises. Slice work into small vertical pieces, name the unknowns and re-estimate as you learn.

· 2 min read

engineeringplanning

Software estimates are usually wrong, not because people are careless but because the future contains things nobody knew. The aim is not perfect numbers. It is decisions made with an honest idea of the uncertainty.

Use ranges, not single numbers

"Three days" hides how much you know. "Two to six days, because the third-party API is undocumented" tells the listener where the risk is. Give a most-likely value and a worst realistic case, and say what would move you toward either end.

Slice into small vertical pieces

A vertical slice delivers a thin but complete piece of behaviour through all layers: interface, logic and storage. A horizontal slice, such as "build the whole database layer", delivers nothing usable until everything is done. Small vertical slices give early feedback and make the plan adjustable.

  1. Start with the simplest end-to-end path.
  2. Add variations and edge cases one by one.
  3. Aim for pieces that fit in a day or two. If you cannot slice further, the task is not understood yet.

Name the unknowns

List what you do not know: unfamiliar technology, unclear requirements, dependencies on other teams, legacy code of uncertain quality. Reduce the biggest unknown first, with a spike: a short, time-boxed experiment that answers a question, not a feature.

Common biases.

  • Planning fallacy: we imagine the smooth path and forget interruptions, reviews, deployment and testing.
  • Anchoring: the first number mentioned sticks. Estimate independently before discussing.
  • Optimism about the last 10 percent: finishing, polishing and fixing take longer than they look.

Use history

Track how long similar work really took. Even rough records show your own tendency to underestimate, and let you correct for it.

Python
estimates = [2, 3, 5]   # days estimated
actuals   = [3, 5, 8]   # days it really took
ratio = sum(actuals) / sum(estimates)
print(round(ratio, 2))  # 1.6 means: multiply new estimates by about 1.6

Communicate

Share the range, the assumptions and the risks, and update early when something changes. A surprise at the deadline is worse than a revised estimate in week one.

Takeaway

Estimate in ranges, slice vertically, attack the unknowns first and learn from your own history.

A knowledge article, drafted with AI assistance and checked with automated tests. It is general background, not a description of my own experience or of any client's work.

Comments

Leave a comment

No account or email needed. Comments appear after review. A one-way hash of your IP address is kept for 30 days to fight spam, then erased.