by jacques_chester · 10y ago · 0 comments
And even though it's "impossible", I and hundreds of my peers at work do it every week with a workable degree of accuracy, relative to company-wide work in progress.
In any case, the usual problems are:
1. We software developers think we're the first to face uncertainty, including massive uncertainty. We are not. We are in fact lightweights in this department. Ask a civil, structural or plant engineer for war stories. Or read Industrial Megaprojects to see how skipping a single water-temperature test cost billions of dollars.
2. We tend to embrace the nirvana fallacy. "Perfect or very accurate estimation is worthless; therefore, all estimation is worthless".
3. "Some projects are pure research". Yes. But very few. And even they contain bog-ordinary implementation details. Writing a fantastical new language? Well guess what: parsers have been written before, and someone with data or relevant experience could break down the task into subtasks and estimate them.
I think the real reason that we so dread estimates is:
1. They aren't treated as estimates. People turn them into deadlines. Or try to negotiate with the estimate. Which means they aren't estimates any more.
2. We get them wildly wrong the first few times and throw our hands in the air. Improving estimates is hard. If it were easy, we wouldn't need to consciously do it.
High school level math and problem solving plus having ever worked with software clearly state that if you have a software team, you could at the very least collect a single statistic of estimation error (actual effort over expected effort) and get a long-tail (it's going to be more more than it'll be less) distribution. Now you can spec out new projects, get values for expected effort and factor in the error distribution to get a distribution of possible actual effort for the project. If some high percentile of that distribution is more time/money than you can tolerate you have to reduce risks by cutting features or increase the budget (or have a significant fraction of projects fail).
Of course, there's lots more sophistication that could (should) go into this but even this is beyond any part of software industry I've been allowed to participate in, because it gives answers that people with authority find inconvenient.
They are looking for estimates to hold you to account, because that's how you run a good business right?
If you gave your answer to someone in management. It would just look like your trying obfuscate the answer.
There's a difference between estimates and their misuse.
Or huge range of possible release dates(because there is huge variation between the estimate and actuals), as with other estimation methods.
It's an industry with a high gross profit margin. If you have a hit, you can get with just about any process or non-process. So you never need to invest heavily in better estimation.
If you don't have a hit, you will probably go out of business. So you never get the chance to invest heavily in better estimation.
If the expected ROI on a project is small, then having really good estimates matters a lot, because it can make the difference between profit and loss. But if the expected ROI is large, precise estimates matter less. Tom DeMarco has famously made this point [0].
This is basically what I argued. Software businesses often have such fantastic margins that you can do any old thing and still rake it in.
I wish I had more than a single upvote to give, because that is absolute gold.
In my previous life I had the dubious pleasure of occasionally doing project estimates. I followed a fairly simple sequence which worked for that particular company and their projects. Please - do not try to blindly use this method, it will give you misleading estimates.
First I checked how much proper knowledge of the problem domain we had in house. Then I estimated (in man-weeks) how long it would take for a single senior engineer to cover a given subtopic, if everything worked the first time. Then, I multiplied that estimate by 2.5 - this covered pretty well the time it _actually_ took them. Then I added a 15% "fuzz factor" to cover for still unexpected surprises.
Multiply that by the number of engineers really needed for the project, and you get a reasonable ballpark estimate of how long in walltime the project would take, as well as how much effort it would require.
And because every single client was always haggling with the estimates, trying to turn them into hard deadlines... I added another +30% on top. We all knew that was the haggling headroom, and expected the salespople and clients to eventually carve that one out.
Our projects were mostly on time and within budget. Yup - mostly.
TL;DR: please do not try the above at home or at work. Those figures worked for a very specific company, for their highly specific projects.
It would be experimenting with different ideas for the language, which would require trial and error and experimentation. That would be hard to estimate.
As with most things that programmers do over and over again, creating parsers has been automated. That's the issue with estimation in programming, if you do the same things over and over they get automated. What's left is the unique issues which need to be estimated.
Is it your sincere, genuine contention that 100% of software development is pure research?
Say you are integrating some software into PayPal. Lots of people have integrated PayPal.
However no one has integrated your software into PayPal before otherwise you wouldn't be doing it.
Your software may have a weird workflow that makes PayPal difficult to integrate. So your going to have figure that out, and that's unique to your software
Your software may not have an easy way integrate 3rd party payment providers. So your going to have figure out the best place for those extension points, in reusable way for multiple payment providers. Figuring out those extension points is unique to your software.
There will be a lot of unique situations.
If however I was using common e-commerce package as opposed to some unique software, I would just install the PayPal add on. no estimation required.
Strictly speaking, every keystroke is unique. And strictly speaking, I cannot probably show that I exist independently of someone else's perception, or that I'm not in a computer program and so on and so forth.
Meanwhile, back in people-need-to-make-decisions land, as an engineer I don't get to just shrug when someone asks me for my professional opinion.
I may ask for time to investigate. I may give a wide range due to uncertainty. I may recommend a different approach. I may suggest we bring risky unknowns forward.
But ultimately I give my best estimate. If I get it wrong, that's not a sin. Because it's an estimate.
Oh yes this annoys me. I've been asked to break it into sub tasks then justify those. So best case estimates based on some predicted sub tasks ... before any design has been done! Then the surprise when it takes longer
Humans routinely underestimate the time and difficulty involved in just about everything. Breaking a task down into subtasks leads to higher estimates which will typically be more accurate.
You are of course being asked to do something very difficult. In 3-point estimation schemes, you'd give back very wide bands for a few subtasks that you identified. Maybe point at the cone of uncertainty a few times.
I know it often doesn't work. To me, most of the problems with estimating aren't with the estimating.