News for hackers. Stuff that matters.
Re:Why software projects take longer than you think: a stati... by commandlinefan on Friday July 14, 2023 @08:55AM (#36723286)
> if you gave accurate estimates, you'd get reprimanded

I like the cynicism, but this implies that you can give accurate estimate, which I also take exception to. To give an accurate estimate, you'd have to first have a complete specification, which I've never seen.

Re:Why software projects take longer than you think: a stati... by drittich on Friday July 14, 2023 @09:49AM (#36724015)
Pretty much correct, IMO. Really, the first build (and usually the only one, unfortunately) IS the process of estimating. I try to POC as much as possible to make sure I know where the landmines are. Just this week, I blew by one of my own recent estimates because I assumed I could pretty easily determine the output column names and data types for any arbitrary SQL Server stored procedure using a SQL query. Many implementation hours and attempts later, I realized my folly, and I am not new to SQL.
Re:Why software projects take longer than you think: a stati... by dagss on Friday July 14, 2023 @11:13AM (#36725131)
Did you look at sp_describe_first_result_set?

https://learn.microsoft.com/en-us/sql/relational-databases/s...

Re:Why software projects take longer than you think: a stati... by tempodox on Friday July 14, 2023 @12:30PM (#36726253)
> Really, the first build IS the process of estimating.

You hit the nail on the head.

Re:Why software projects take longer than you think: a stati... by awinter-py on Friday July 14, 2023 @02:06PM (#36727688)
yes this

difficult to scope some projects without starting the build

Re:Why software projects take longer than you think: a stati... by okaram on Friday July 14, 2023 @10:15AM (#36724335)
I have found a sure way to get estimates... Do the work, and say how long it took me.
Re:Why software projects take longer than you think: a stati... by joombaga on Friday July 14, 2023 @10:19AM (#36724393)
You should probably still add a week to the estimate.
Re:Why software projects take longer than you think: a stati... by eschneider on Friday July 14, 2023 @10:23AM (#36724433)
It's realism, not cynicism. I've absolutely been in situations like that where the sensible estimate is 5X what management is angling for and I know it's the case because we've done that exact thing (In this case, new hardware bring up) many times and with the inevitable problems, it always takes the high number. :/
Re:Why software projects take longer than you think: a stati... by john_the_writer on Friday July 14, 2023 @09:13PM (#36732112)
I worked at a place where everything had to be gold plated. Some devs had an idea for a json driven form. It was super simple. Less than a week of dev time. Management got it and an architect got involved. The project was taken from the original devs. The new team spent 2 months building a DSL, that didn't support mobile (so didn't meet the requirements). In the end it was canned.

The original 3 man dev team (Rails/JS/IOS) did a bit of skunk works, and built the original idea in 2 days. We had a good head of tech at the time so we deployed it and just kept quiet when we estimated new forms.

Re:Why software projects take longer than you think: a stati... by moffkalast on Friday July 14, 2023 @11:01AM (#36724975)
It is possible to give shockingly correct estimates, but management doesn't like to hear how long it'll actually take, they just want to hear the number they already imagined.
Re:Why software projects take longer than you think: a stati... by rabuse on Friday July 14, 2023 @11:26AM (#36725356)
How so? Genuinely curious.
Re:Why software projects take longer than you think: a stati... by moffkalast on Friday July 14, 2023 @11:46AM (#36725658)
Just an intuition developed over time with experience I suppose, as long as you have a fixed team you've worked with for a while on similar projects, with requirements that don't depend on many external factors.
Re:Why software projects take longer than you think: a stati... by HeyLaughingBoy on Friday July 14, 2023 @11:52AM (#36725740)
The only consistently accurate estimates are based on previous work for which you have data. As a general rule, if you did X and it took Y days, the next time you do something similar to X, it will take an amount of time very similar to Y.

The problem is that (a) most organizations don't track and record the time to do anything and (b) people don't want to take the time to break down tasks to units similar to something they did before. Estimation is itself a time-consuming task.

Re:Why software projects take longer than you think: a stati... by ozim on Friday July 14, 2023 @05:46PM (#36730366)
Agree, splitting up tasks and writing all out to a T and then estimating it, could take basically all time or budget available for project.
Re:Why software projects take longer than you think: a stati... by HeyLaughingBoy on Saturday July 15, 2023 @12:42PM (#36738592)
Doesn't take anywhere near that long, but if you want accuracy, then you have to put in the work.
Re:Why software projects take longer than you think: a stati... by clhodapp on Friday July 14, 2023 @12:21PM (#36726114)
The easiest way is through ridiculous padding. If you consider carefully and think it will take a day, say it will take two weeks. If two weeks, say six months and so on.

This is the sort of thing you do when the unthinkable outcome shifts from idle workers to late delivery: Today, it's unthinkable to management for workers to be idle. If instead it were unthinkable for the project to be late, they would have to accept some risk of idleness to create that outcome.

Of course, you can always start doing prep work to de-risk the project, such as spikes, POCs, et cetera, within the planning phase. This might allow you to pad less but retain the certainty of your outcome.

Re:Why software projects take longer than you think: a stati... by darrylb42 on Friday July 14, 2023 @11:21AM (#36725276)
I worked at one place where if the estimate for any task was over 2 days it would not get approved. Some really required two days tasks could take months. If we didn't want to do it, high estimate. If the business really wanted it they asked different devs until it was two days. Such a strange place to work.
Re:Why software projects take longer than you think: a stati... by QuercusMax on Friday July 14, 2023 @05:44PM (#36730353)
Was the intention to force people to break tasks down into smaller chunks? There's no way you're spending months on something that can't be broken down at all.
Re:Why software projects take longer than you think: a stati... by Shaanie on Saturday July 15, 2023 @07:30AM (#36735601)
Breaking projects down into <2 day chunks isn't a bad idea (although max 2 days is a bit aggressive), but those chunks are likely going to be useless to stakeholders and shouldn't be communicated outside of the team.
Re:Why software projects take longer than you think: a stati... by babyshake on Friday July 14, 2023 @01:01PM (#36726653)
If you are fully in charge of a project you can often create complete specs. When working with PMs, designers, other stakeholders, you can often not have complete specs because the requirements are constantly shifting. Because you're "lean" and "agile".
Re:Why software projects take longer than you think: a stati... by ozim on Friday July 14, 2023 @05:43PM (#36730343)
I don’t see this working out. Mostly people want something working right away and writing out specs would eat out all dev budget - you could create complete specs if you pay with your own money, maybe?