Programming
We provide developers and engineers the guides and tutorials they...
Search
We provide developers and engineers the guides and tutorials they...
Content is king. It's not just about how you're going to write, b...
Looking for an engaging connection with thousands of other people...
Why software projects run late: novel work, optimistic estimates, the planning fallacy, Brooks's law, scope creep and hidden integration, plus what helps.
Quick answer: Software projects run late because they are mostly new work. If something had been built before, you would reuse it, so what remains is the part nobody has done in quite this way. You cannot estimate accurately what you do not yet understand. On top of that, people are systematically optimistic about their own plans, requirements change during the project, the last stages (integration, testing, edge cases) are larger than they look, and adding people to recover time often slows things down. Estimates then get treated as promises. The remedy is not better guessing but smaller pieces, ranges in place of single dates, early delivery, and flexible scope.
Also Read: Why Do Computers Need Both RAM and Storage? - How To's
It always takes longer than you expect, even when you take into account Hofstadter's Law.
Douglas Hofstadter wrote the law in 1979, about the difficulty of programming computers to play chess. Its self-reference is the point: knowing you underestimate does not stop you underestimating.
Building the hundredth identical house is predictable. Software is closer to designing the house, each time for a new site. The routine parts are already libraries and frameworks. What is left is the unknown, and you find its real shape only by doing it.
You can add time for risks you can name. The delays come from the ones you cannot: an API that behaves differently from its documentation, a data migration with ten years of inconsistent records, a library bug, a performance problem that appears only with real data.
Psychologists Daniel Kahneman and Amos Tversky described the planning fallacy: people underestimate how long their own tasks will take, even when they know similar tasks overran before. We imagine the path where everything goes right, and estimate that.
Other biases add to it:
A task estimated at five days might finish in four. It might also take thirty. It cannot take minus twenty. The distribution has a long tail on the late side, so the average outcome is later than the most likely one. Add many tasks together and the overruns do not cancel out. They accumulate.
The so-called ninety-ninety rule:
The first 90 percent of the code accounts for the first 90 percent of the development time. The remaining 10 percent of the code accounts for the other 90 percent of the development time.
The working demo is the easy part. Then come error handling, edge cases, security, accessibility, performance, migration of old data, monitoring, documentation and deployment. "Works on my machine" and "running reliably in production" are far apart.
Requirements grow as people see the product take shape. Each addition is small and reasonable. The deadline rarely moves with them.
In The Mythical Man-Month (1975), Fred Brooks, who managed the development of IBM's OS/360, observed:
Adding manpower to a late software project makes it later.
Two reasons:
n people there are n(n-1)/2 possible pairs.| Team size | Communication paths |
|---|---|
| 3 | 3 |
| 5 | 10 |
| 10 | 45 |
| 20 | 190 |
| 50 | 1,225 |
His sharper version: nine women cannot make a baby in one month. Some work does not divide.
Much of a project's elapsed time is not work. It is waiting: for another team, a review, an approval, a vendor, a test environment. A task that takes two days of effort can take two weeks on the calendar.
Parts built separately meet for the first time near the end, and that is when mismatched assumptions surface. Architecture affects this; see monolith vs microservices.
Building on a codebase full of shortcuts is slower than the plan assumed. See why technical debt isn't always bad.
Estimates assume uninterrupted time. Real weeks contain meetings, production incidents, support questions, holidays and illness. Few people get more than a few focused hours a day.
"Make it faster" and "improve the dashboard" cannot be estimated, because nobody has defined done. Unclear names for things make this worse; see why naming things is so hard.
Three different things are routinely confused.
| What it is | |
|---|---|
| Estimate | A forecast, with uncertainty |
| Target | What the business would like |
| Commitment | A promise to deliver |
Trouble starts when a rough guess given in a corridor is written into a plan as a commitment. Uncertainty is also widest at the very beginning, exactly when the date is usually fixed, and narrows only as work proceeds.
AI coding tools speed up writing code, sometimes a great deal. Writing code was rarely the bottleneck. Deciding what to build, agreeing on it, integrating it, verifying it and operating it take the bulk of the time, and those remain. Faster typing shortens some tasks; it does not repeal Hofstadter's law.
Because the work is largely new, the risks are unknown at the start, people are optimistic, and overruns are much larger than underruns.
The observation that adding people to a late software project delays it further, because of training time and increased communication.
The tendency to underestimate the time needed for a task, even with knowledge that similar tasks took longer.
Not entirely. Rough estimates help with priorities and budgets. Treat them as forecasts with ranges, and update them.
Lateness in software is not mainly a failure of discipline. It follows from doing uncertain work under optimistic assumptions and fixed dates. You cannot remove the uncertainty, but you can stop pretending it is absent: plan in small steps, forecast in ranges, deliver early, and keep the scope negotiable.